Distributed smart home control method, device and system

By adopting a distributed control method in the smart home system, the smart device can automatically determine and run the configuration status based on the identification information sent by the central device, solving the communication delay and data privacy problems caused by the central control device, and improving system efficiency and security.

CN119689881APending Publication Date: 2025-03-25SHANGHAI MXCHIP INFORMATION TECHN
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411783529.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing smart home systems rely on central control equipment for state synchronization and control, resulting in communication burden and delay, affecting system efficiency, and risk of data privacy leakage.

Method used

The distributed smart home control method is adopted to obtain the demand scenario mode through the central device, determine the corresponding identification information, and send it to the smart device, so that it automatically determines and runs the corresponding configuration status according to the preset correspondence relationship.

Benefits of technology

It improves the efficiency of overall state regulation, reduces communication burden, ensures data security, and enhances the intelligence and automation level of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689881A_ABST
    Figure CN119689881A_ABST
Patent Text Reader

Abstract

The invention relates to the field of Internet of Things, in particular to a distributed smart home control method, device and system, and the method comprises the steps: obtaining a demand scene mode; determining first identification information corresponding to the demand scene mode according to the demand scene mode; the first identification information is sent to a plurality of intelligent devices of the intelligent device system, so that after the intelligent devices receive the first identification information, a first configuration state corresponding to the first identification information is determined from a preset corresponding relation, and the intelligent devices operate according to the first configuration state, the preset corresponding relation is a corresponding relation between the multiple pieces of identification information and the multiple configuration states. When scene control communication is carried out, the central device only needs to send the identification information instead of the configuration state of each intelligent device in the related technology, the overall state regulation and control efficiency can be improved, and the configuration information is stored on the intelligent devices, so that the data security is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things, and in particular to a distributed smart home control method, device and system. Background Art

[0002] Currently, smart home systems usually rely on a central control device to communicate with smart devices to achieve scene control of smart devices. The central device stores various "scene configurations", such as "home mode" or "away mode", which is a set of preset smart device states. When the user selects a scene, the central device determines the state that each smart device should enter based on the preset configuration, and sends instructions to switch the smart device to the corresponding state.

[0003] However, when a user or device triggers a scene switch, the state needs to be synchronized and controlled through the central device, which will generate a certain communication burden and delay, thus affecting the overall efficiency of the system. Furthermore, storing the user's scenes and data in the cloud or central device has certain privacy leakage risks. Summary of the invention

[0004] The purpose of this application is to provide a distributed smart home control method, device and system that can improve the efficiency of overall state regulation and ensure data security.

[0005] In a first aspect, a distributed smart home control method is provided, which is applied to a distributed smart home control system, including: a central device and a smart device system;

[0006] The distributed smart home control method is executed by a central device, including:

[0007] Get the required scenario mode;

[0008] According to the demand scenario mode, determining first identification information corresponding to the demand scenario mode;

[0009] The first identification information is sent to multiple smart devices in a smart device system, so that after receiving the first identification information, the smart device determines a first configuration state corresponding to the first identification information from a preset correspondence relationship and operates according to the first configuration state, wherein the preset correspondence relationship is a correspondence relationship between multiple identification information and multiple configuration states.

[0010] In a preferred example, the present application may be further configured as follows: the sending of the first identification information to multiple smart devices in the smart device system includes:

[0011] Determine multiple smart devices in a smart device system corresponding to the first identification information; send the first identification information to the multiple smart devices;

[0012] Alternatively, the first identification information is sent to all smart devices in the smart device system.

[0013] In a preferred example, the present application can be further configured as follows:

[0014] Get the status switching result sent by the smart device.

[0015] In a preferred example, the present application can be further configured as follows:

[0016] If the state switching result fed back by the first target smart device is not received, generating and displaying prompt information, wherein the prompt information is used to prompt the user to pay attention to the first target smart device;

[0017] Or, if the state switching result of the first target smart device is not received, a confirmation request carrying the identifier of the first target smart device is sent to the second target smart device, so that the second target smart device, after receiving the confirmation request carrying the identifier of the first target smart device, sends the first identification information to the first target smart device.

[0018] In a preferred example, the present application can be further configured as follows:

[0019] Acquire a second configuration state corresponding to each of a plurality of designated smart devices in the smart device system under a first scenario set by a user;

[0020] Set the second identification information corresponding to the first scene, and send the second identification information and the second configuration state corresponding to the designated smart device to the designated smart device, so that after receiving the second identification information and the second configuration state, the designated smart device associates the second identification information and the second configuration state to generate a preset corresponding relationship, and stores the preset corresponding relationship.

[0021] In a preferred example, the present application can be further configured as follows:

[0022] Obtaining a configuration status request for a third target smart device for the second scenario, wherein the configuration status request includes: an adjustment request or a new addition request, and a corresponding third configuration status;

[0023] Determining third identification information corresponding to the second scenario;

[0024] The third identification information and the third configuration state corresponding to the third target smart device are sent to the third target smart device, so that after receiving the third identification information and the third configuration state, the third target smart device associates the third identification information and the third configuration state and updates the preset correspondence of the third target smart device.

[0025] In a preferred example, the present application may be further configured as follows: the acquisition of the demand scenario mode includes any of the following:

[0026] Obtain the demand scenario mode sent by the user through the voice assistant of the mobile device;

[0027] Obtain the required scene mode sent by the user through the wall control panel;

[0028] When the presence of a user in the target environment is detected, a main scene is determined according to the user's behavior habits; a sub-scene under the main scene is determined according to the environmental information, and the sub-scene under the main scene is the required scene mode.

[0029] In a second aspect, a distributed smart home control device is provided, comprising:

[0030] An acquisition module is used to obtain the required scenario mode;

[0031] A determination module, configured to determine first identification information corresponding to the demand scenario mode according to the demand scenario mode;

[0032] A sending module is used to send the first identification information to multiple smart devices in the smart device system, so that after receiving the first identification information, the smart device determines a first configuration state corresponding to the first identification information from a preset correspondence relationship and operates according to the first configuration state, wherein the preset correspondence relationship is a correspondence relationship between multiple identification information and multiple configuration states.

[0033] In a third aspect, a central device is provided, including:

[0034] one or more processors;

[0035] Memory;

[0036] One or more applications, wherein one or more applications are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to: perform operations corresponding to the method shown in any possible implementation of the first aspect.

[0037] In a fourth aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded by a processor and executes the steps of the method shown in any possible implementation of the first aspect.

[0038] In a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, operations corresponding to the method shown in any possible implementation manner in the first aspect are implemented.

[0039] In a sixth aspect, a distributed smart home control system is provided, comprising:

[0040] Central device and intelligent device system; the intelligent device system includes multiple intelligent devices;

[0041] The central device can implement the distributed smart home control method described in any one of the first aspects.

[0042] In summary, the distributed smart home control method provided by this application includes the following beneficial technical effects:

[0043] Obtain the required scene mode, determine the corresponding first identification information according to the mode, and send the identification information to the smart device. The smart device can automatically find the corresponding configuration state and run according to the preset correspondence. There is no need to manually adjust the device settings, which significantly improves the intelligence and automation level of the system. Moreover, when communicating for scene control, the central device only needs to send identification information instead of the configuration state of each smart device in the related technology, which can improve the efficiency of the overall state regulation. In addition, the configuration information is stored on the smart device, which ensures data security.

[0044] In addition, the present application also provides a distributed smart home control device, equipment and medium, all of which have the above-mentioned beneficial technical effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 This is a schematic diagram of an application scenario of a distributed smart home control method provided by an embodiment of the present application;

[0047] Figure 2 It is a structural diagram of a connection provided by an embodiment of the present application;

[0048] Figure 3 It is a structural diagram of a distributed smart home control device provided in an embodiment of the present application;

[0049] Figure 4It is a structural schematic diagram of a central device provided in an embodiment of the present application;

[0050] Figure 5 It is a structural diagram of a distributed smart home control system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, a person skilled in the art may make non-creative modifications to the present embodiment as needed, but such modifications are protected by the patent law as long as they are within the scope of the present application.

[0052] It should be noted that in the optional embodiments of the present application, the object information and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0055] Conventional smart control solutions in smart home scenarios include:

[0056] 1. The role and function of the central device.

[0057] The central device (such as the smart gateway) is the core of the system and is responsible for the following key functions:

[0058] State storage: The central device maintains the real-time state of each smart device, including on / off status, brightness, temperature settings, etc. It also stores various "scene configurations", such as "home mode" or "away mode", which are a set of preset device states.

[0059] Scene control: When the user selects a scene, the central device determines the state that each device should enter based on the preset configuration and sends instructions to switch the device to the corresponding state.

[0060] Communication management: The central device is responsible for communicating with smart devices, usually through wireless protocols such as Wi-Fi, Zigbee, Bluetooth, etc. for data transmission.

[0061] 2. The role and function of the device.

[0062] Each smart device (such as smart lights, smart locks, air conditioners, etc.) mainly relies on central devices to update their status, which is specifically manifested as follows:

[0063] Execute instructions: After receiving the instructions from the central device, the device adjusts itself to the required state. The logic of each device is relatively simple. They are only responsible for executing instructions, not for storing scene information.

[0064] Status reporting: The device will periodically report its current status to the central device so that the central device can maintain real-time knowledge of the device status. For example, a smart light will report its brightness and switch status so that the central device can obtain the latest status the next time the scene is switched.

[0065] 3. Workflow.

[0066] The typical scene switching process is as follows:

[0067] User trigger: The user selects a scene, such as "sleep mode", through the mobile app, voice assistant, or wall control panel.

[0068] Central device scheduling: The central device obtains the target state of each device (such as "all lights off", "air conditioning set to 25°C") according to the presets in the scene profile.

[0069] Status broadcast: The central device broadcasts this status information to all related devices, allowing them to enter the corresponding scene state.

[0070] Device execution: After receiving the status information, the device executes the corresponding status switch.

[0071] Status feedback: After executing the command, the device will feed back the new status to the central device, and the central device will update its status record to ensure that the latest status is obtained in the next switch.

[0072] The inventors found that the current technical solutions generally have the following disadvantages:

[0073] 1) Smart home systems usually rely on a central control device (such as a smart home gateway, central processing unit) to manage and store the scene status of the device. This model has the risk of single point failure. If the central device fails, the scene recovery of the entire system may be affected.

[0074] 2) When a user or device triggers a scene switch, state synchronization and control are required through the central device, which will generate certain communication burdens and delays. Central devices (such as smart gateways or control centers) undertake multiple tasks such as scene state management, device scheduling, and data transmission. The integrated management of these tasks may lead to limited processing capabilities of central devices, thus affecting the overall efficiency of the system. For example, central devices may need to consume more power to support complex calculations and data exchanges, resulting in reduced energy efficiency of the entire system.

[0075] 3) Saving the scene state to the device itself can make the device more autonomous to a certain extent. For example, when the network is unstable or the central device cannot be accessed, the user can still work according to the preset scene state through the display interface or control interface of the smart device, which improves the robustness of the system.

[0076] 4) Smart home systems usually need to store user scenarios and data in the cloud or central devices, which poses a certain risk of privacy leakage. By storing scenario data locally on the device, the transmission of sensitive data in the network can be reduced, thereby improving the protection of user privacy.

[0077] 5) Smart home systems usually rely on the network to achieve communication and command transmission between devices. In some low-bandwidth or unstable network environments, devices may need to wait for a long time to receive commands or status updates. In order to ensure the transmission of commands, devices may need to retry or maintain long-term communication connections, which will consume additional power.

[0078] 6) Poor scalability: With the continuous increase of smart home devices, the central device in the traditional system may face an increasing computing and communication burden. The central device needs to process the status information of more devices and coordinate more scene switching, which leads to a decrease in the energy efficiency of the entire system. When the number of devices increases, the response time and energy efficiency of the system tend to show a downward trend.

[0079] Based on this, the present application provides a smart home scene snapshot, scene configuration method, and scene control method, specifically a distributed smart home control method; it involves the Internet of Things wireless communication technology, and belongs to the field of smart Bluetooth Mesh networking control, the Internet of Things (IoT), and the application field of smart home automation. Specifically, the present application embodiment provides a distributed smart home control method, which is applied to a distributed smart home control system, including: a central device and a smart device system; such as Figure 1 As shown, the method provided in the embodiment of the present application can be executed by a central device, and the embodiment of the present application is not limited here. The method includes:

[0080] S101, obtaining a demand scenario mode;

[0081] Demand scenario modes refer to the functional modes that users expect to achieve in smart homes, such as away mode (all devices turned off, security system activated), home mode (lights on, air conditioner adjusted to a suitable temperature), movie viewing mode (TV turned on, curtains drawn, lights dimmed), etc.

[0082] A possible implementation of the embodiment of the present application is to obtain a demand scenario mode, including any of the following:

[0083] Obtain the demand scenario mode sent by the user through the voice assistant of the mobile device;

[0084] Obtain the required scene mode sent by the user through the wall control panel;

[0085] When the presence of a user is detected in the target environment, the main scene is determined according to the user's behavior habits; the sub-scene under the main scene is determined according to the environmental information, and the sub-scene under the main scene is the required scene mode.

[0086] When a user wants to trigger a certain scene (such as "home mode" or "away mode"), the user can select the corresponding scene through the central device, mobile phone application or physical control panel. For example, when the user is about to leave home, the "away mode" can be triggered through the mobile phone APP or voice assistant, and the smart home system will automatically turn off the lights, air conditioners and other equipment in the home, and start the security system to ensure the safety of the home.

[0087] Of course, after detecting the presence of a user in the target environment, the main scene currently required can be determined based on the user's historical behavior habits, where the main scene corresponds to the home mode, movie viewing mode, etc., but in different environments, the corresponding specific device parameters are different. Therefore, the sub-scene can be determined based on the environmental information and the pre-stored correspondence. The pre-stored correspondence is the correspondence between the environmental information and the sub-scene, so that the sub-scene under the main scene can be set to the required scene mode, making the control of smart devices more intelligent.

[0088] Therefore, the embodiments of the present application can simultaneously support a mixed mode of automated control and manual control, such as a user manually selecting a scene or automatically triggering certain scenarios, thereby enhancing the operational freedom of the system.

[0089] S102, determining first identification information corresponding to the demand scenario mode according to the demand scenario mode;

[0090] The first identification information refers to information used to uniquely identify or distinguish different demand scene modes, which can be numbers, letters, symbols or a combination thereof, or a text description with a specific meaning. Through the first identification information, the smart home system can accurately identify the demand scene mode.

[0091] The central device does not save the configuration status corresponding to the scene mode of the smart device, but stores the identification information corresponding to the scene mode.

[0092] S103. Send the first identification information to each smart device, so that after receiving the first identification information, the smart device determines a first configuration state corresponding to the first identification information from a preset correspondence relationship and operates according to the first configuration state, wherein the preset correspondence relationship is a correspondence relationship between multiple identification information and multiple configuration states.

[0093] Furthermore, in order to ensure the efficiency and accuracy of scene triggering, the following implementation methods can be used:

[0094] Broadcast scene number: The central device sends identification information (such as scene number) to all smart devices by broadcasting, specifically: sending the first identification information to all smart devices in the smart device system. Among them, all smart devices receive the trigger information at the same time. This method is particularly suitable for small-scale local networks (such as Zigbee, Wi-Fi), and is commonly used in most smart home systems.

[0095] Multicast scene number: If only some smart devices in the smart device system participate in a specific scene, multiple smart devices in the smart device system corresponding to the first identification information are determined; the first identification information is sent to multiple smart devices. Therefore, a multicast method can be used. The central device only sends the scene number to the relevant devices, avoiding sending the scene number to irrelevant smart devices, thereby improving communication efficiency.

[0096] On-demand triggering: For scenes that require sequential triggering (such as turning on lights in different areas in sequence), the central device can send scene numbers in a preset order to gradually trigger device status changes to achieve more complex effects.

[0097] The central device will send the scene ID to all participating smart devices. This ID is unique, and each smart device has stored the state configuration corresponding to this ID.

[0098] Furthermore, the central device of the distributed scene storage can be more easily compatible with other brands and types of smart devices. As long as the smart device can parse the scene number and switch the state by itself, it can participate in the unified control of the smart home. This makes it easier to implement a cross-brand and cross-platform smart home system. Equipment manufacturers can design scenes flexibly according to the functions of the equipment, without relying on the scene library or protocol of the central equipment manufacturer, making the compatibility between devices and scenes higher. The communication protocol can be unified to facilitate cross-brand communication between devices.

[0099] Furthermore, encryption technology can be used when smart devices communicate with central devices to reduce the risk of privacy leakage and illegal use of data.

[0100] Furthermore, the smart device integrates an AI diagnostic system to remotely monitor the device status, predict potential failures and provide automated repair suggestions. In addition, it has the function of remote firmware upgrade, allowing users to easily complete device maintenance and upgrades through mobile phone APP and other methods.

[0101] After receiving the first identification information, the smart device determines the first configuration state corresponding to the first identification information from the preset corresponding relationship, and operates according to the first configuration state. Specifically, after each smart device receives the scene number, it immediately searches the local storage for the configuration state corresponding to the number for configuration. For example, if the number ID corresponds to the "away mode", the lighting device may find the "off" state, and the air conditioner finds the "energy-saving temperature mode". Each smart device switches to the state according to the state configuration found. This switching process is completed autonomously on the smart device side without further instructions; for example, the lamps will be adjusted to the corresponding brightness or turned off, the air conditioner will switch to the set temperature, the audio will stop playing, etc.

[0102] In the embodiment of the present application, after the smart device has independent scene information, that is, the configuration state is stored, it can adapt to new scenes and changes. Users can update scenes on a single smart device at any time as needed without having to uniformly change the configuration of the central system. Even if some smart devices are temporarily offline, other smart devices can still respond normally to scene switching instructions, greatly improving the overall flexibility of the system.

[0103] Furthermore, since smart devices can store and switch states by themselves, maintenance personnel can check or update scene states directly on the smart devices without having to contact the central device. This simplifies the maintenance process of a single smart device and makes troubleshooting more convenient.

[0104] Furthermore, when the system is expanded, it is only necessary to set the corresponding scene status on the new smart device without having to reconfigure the status library or synchronization status of the central device.

[0105] It can be seen that in the embodiment of the present application, the required scene mode is obtained, and the corresponding first identification information is determined according to the mode, and the identification information is sent to the smart device. The smart device can automatically find the corresponding configuration state and run according to the preset correspondence; there is no need to manually adjust the device settings, which significantly improves the intelligence and automation level of the system. Moreover, when communicating for scene control, the central device only needs to send identification information, rather than the configuration status of each smart device in the related technology, which can improve the efficiency of the overall state regulation, and the configuration information is stored on the smart device, ensuring data security.

[0106] A possible implementation of the embodiment of the present application also includes:

[0107] Get the status switching result sent by the smart device.

[0108] After each smart device switches state, it can send feedback to the central device, indicating that it has successfully switched to the target state. This feedback mechanism allows the central device to monitor the status of the entire system in real time.

[0109] Furthermore, if a device fails to switch successfully, the central device can prompt the user or perform subsequent processing.

[0110] For example, if the state switching result fed back by the first target smart device is not received, a prompt message is generated and displayed, and the prompt message is used to prompt the user to pay attention to the first target smart device.

[0111] For another example, if the state switching result of the first target smart device is not received, a confirmation request carrying the identifier of the first target smart device is sent to the second target smart device, so that the second target smart device, after receiving the confirmation request carrying the identifier of the first target smart device, sends the first identification information to the first target smart device.

[0112] If no feedback from the first target smart device is received within the waiting time window, or the feedback times out (ie exceeds the preset waiting time), a state switching result of no feedback from the first target smart device is determined.

[0113] In the examples of this application, see Figure 2, each smart device can also communicate with each other. When the state switching result of the feedback from the first target smart device is not received, it means that the first smart device cannot communicate with the central device. At this time, the second target smart device that has been communicating with the central device can be used to send the first identification information to the first target smart device again, so as to determine that the first target smart device can obtain the first identification information.

[0114] A possible implementation of the embodiment of the present application also includes:

[0115] Acquire a second configuration state corresponding to each of a plurality of designated smart devices in the smart device system under a first scenario set by a user;

[0116] Set the second identification information corresponding to the first scene, and send the second identification information and the second configuration state corresponding to the designated smart device to the designated smart device, so that after receiving the second identification information and the second configuration state, the designated smart device associates the second identification information and the second configuration state to generate a preset corresponding relationship, and stores the preset corresponding relationship.

[0117] Users manually set each smart device to the target state (configuration state) through the control application or central device interface. For example, adjust the light to a specific brightness, set the air conditioner to a specific temperature, etc. This ensures that each device is in the required scene configuration state, giving the device an ideal state "template".

[0118] After the user confirms that the settings are complete, select the "Save Scene" operation on the central device. The central device generates a new scene number (ID) and distributes it to each smart device, instructing the smart device to record the current state as the state configuration under the scene number. The scene number is a unique identifier within the entire system, ensuring that the scene can be consistently identified between smart devices.

[0119] After receiving the "save scene" command and the scene number, each smart device saves the current state (brightness, temperature, switch state, etc.) to the local storage and associates the state with the scene number. Furthermore, the state data stored in the smart device should be persistent (such as saved in the non-volatile storage of the smart device), so as to ensure that the state can still be restored after the smart device is restarted or powered off.

[0120] When all smart devices have successfully saved their states, the central device can optionally record the confirmation feedback from each smart device to later check whether all devices are correctly configured for the scene.

[0121] It is understandable that this process only needs to be performed when the scene is first configured or updated. After that, when the scene is switched, the central device only needs to send the scene number without sending the status information again.

[0122] A possible implementation of the embodiment of the present application also includes:

[0123] Obtaining a configuration status request for a third target smart device for the second scenario, wherein the configuration status request includes: an adjustment request or a new addition request, and a corresponding third configuration status;

[0124] Determining third identification information corresponding to the second scene;

[0125] The third identification information and the third configuration state corresponding to the third target smart device are sent to the third target smart device, so that after receiving the third identification information and the third configuration state, the third target smart device associates the third identification information and the third configuration state and updates the preset correspondence of the third target smart device.

[0126] Configuration status requests include two types: adjustment requests and addition requests. Adjustment requests refer to modifications to existing configuration statuses, while addition requests refer to the addition of new configuration statuses.

[0127] Specifically, if the user needs to update the scene, he only needs to set the smart device to the new target state, and then execute the "Save Scene" operation again on the central device. The central device will send the same scene number to the smart device, and the smart device will update the local state configuration corresponding to the number.

[0128] A possible implementation manner of the embodiment of the present application further includes: obtaining prompt information sent by the smart device.

[0129] The intelligent device can automatically detect faults, wherein the process of automatically detecting faults includes: obtaining abnormal parts; determining the linkage parts associated with the abnormal parts based on the abnormal parts; determining the operating information corresponding to the abnormal parts, and the operating information of the linkage parts in a preset time period; determining the fault information corresponding to the abnormal parts by using the correspondence between the preset faults and the parts operating information; predicting the operating information at the next moment based on the operating information of the preset time period, determining the existence of a fault based on the operating information at the next moment, and determining the fault information corresponding to the linkage parts by using the correspondence between the preset faults and the parts operating information; and providing prompts based on the fault information of the abnormal parts and the associated linkage parts.

[0130] Based on any of the above embodiments, the solution provided by the embodiments of the present application can store the scene status directly in each smart device rather than concentrating it in a central control device; this enables each device to autonomously perform scene switching operations without relying on real-time central commands to transmit the scene status, but only requires transmitting scene identification information.

[0131] The central device triggers the switching of smart devices through the identification information of the scene, such as the number, instead of the specific state data transmission. This design reduces the amount of data transmission and achieves more efficient scene triggering. Since each smart device saves multiple scene states, even if the central device fails or is offline, each smart device can still switch the state according to the saved scene state. Distributed storage of scene states enables each smart device to switch states independently. When the scene switches, all smart devices respond to the scene number in parallel without waiting for the instructions of the central device one by one. The efficiency of scene execution is improved. The local storage of smart devices enables the system to trigger scene switching normally in the LAN or even offline. Users can trigger scenes through the LAN control panel or wall switch. Through unified scene numbering and distributed control design, the smart home system can be easily integrated with smart lighting, security, environmental adjustment and other systems to form an overall smart home ecosystem. Users can flexibly define scenes, implement different personalized controls through simple number sending, and even activate scene numbers through conditional triggers (such as time, sensor input).

[0132] The following is an introduction to a device provided in an embodiment of the present application. The device described below and the method described above can be referred to each other. The device of this embodiment is set in an electronic device. Figure 3 , Figure 3 It is a structural block diagram of a device of one embodiment of the present application, comprising:

[0133] An acquisition module 210 is used to acquire a demand scenario mode;

[0134] A determination module 220, configured to determine first identification information corresponding to the required scenario mode according to the required scenario mode;

[0135] The sending module 230 is used to send the first identification information to multiple smart devices in the smart device system, so that after receiving the first identification information, the smart device determines the first configuration state corresponding to the first identification information from a preset correspondence relationship and operates according to the first configuration state, wherein the preset correspondence relationship is a correspondence relationship between multiple identification information and multiple configuration states.

[0136] In one achievable manner, the sending module 230 is configured to:

[0137] Determine multiple smart devices in the smart device system corresponding to the first identification information; send the first identification information to the multiple smart devices;

[0138] Alternatively, the first identification information is sent to all smart devices in the smart device system.

[0139] In one achievable manner, the present invention further includes:

[0140] Feedback module for:

[0141] Get the status switching result sent by the smart device.

[0142] In one achievable manner, the present invention further includes:

[0143] A first processing module, configured to generate and display prompt information if no state switching result fed back by the first target smart device is received, wherein the prompt information is used to prompt the user to pay attention to the first target smart device;

[0144] The second processing module is used to send a confirmation request carrying the identifier of the first target smart device to the second target smart device if the state switching result fed back by the first target smart device is not received, so that the second target smart device sends the first identification information to the first target smart device after receiving the confirmation request carrying the identifier of the first target smart device.

[0145] In one achievable manner, the present invention further includes:

[0146] A pre-configuration module, used to obtain a second configuration state corresponding to each of a plurality of designated smart devices in the smart device system under a first scenario set by a user;

[0147] Set the second identification information corresponding to the first scene, and send the second identification information and the second configuration state corresponding to the designated smart device to the designated smart device, so that after receiving the second identification information and the second configuration state, the designated smart device associates the second identification information and the second configuration state to generate a preset corresponding relationship, and stores the preset corresponding relationship.

[0148] In an achievable manner, the pre-configuration module is used to obtain a configuration status request for a third target smart device for the second scenario, wherein the configuration status request includes: an adjustment request or a new addition request, and a corresponding third configuration status;

[0149] Determining third identification information corresponding to the second scene;

[0150] The third identification information and the third configuration state corresponding to the third target smart device are sent to the third target smart device, so that after receiving the third identification information and the third configuration state, the third target smart device associates the third identification information and the third configuration state and updates the preset correspondence of the third target smart device.

[0151] In one achievable manner, the acquisition module 210 is used to:

[0152] Obtain the demand scenario mode sent by the user through the voice assistant of the mobile device;

[0153] Or, obtaining the required scene mode sent by the user through the wall control panel;

[0154] Or, when the presence of a user is detected in the target environment, the main scene is determined according to the user's behavior habits; the sub-scene under the main scene is determined according to the environmental information, and the sub-scene under the main scene is the required scene mode.

[0155] An electronic device is provided in an embodiment of the present application, such as Figure 4 As shown, Figure 4 The electronic device 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.

[0156] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0157] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0158] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0159] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0160] Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0161] See also Figure 5 , the embodiment of the present application provides a distributed smart home control system, including: a central device 300 and a smart device system 120, the smart device system 120 includes a plurality of smart devices 121;

[0162] Wherein: the central device 300 is used to obtain the required scene mode; determine the first identification information corresponding to the required scene mode according to the required scene mode; and send the first identification information to each smart device;

[0163] The smart device 121 is used to determine a first configuration state corresponding to the first identification information from a preset correspondence after receiving the first identification information, and operate according to the first configuration state, wherein the preset correspondence is a correspondence between multiple identification information and multiple configuration states.

[0164] In one practicable manner, the smart device is further used to generate a state switching result and send it to the central device;

[0165] Correspondingly, the central device is also used to obtain the state switching results fed back by each smart device.

[0166] In an achievable manner, the central device is further used to: if the state switching result fed back by the first target smart device is not received, generate and display prompt information, the prompt information being used to prompt the user to pay attention to the first target smart device;

[0167] Alternatively, the central device is further used to: if the state switching result fed back from the first target smart device is not received, send a confirmation request carrying the identifier of the first target smart device to the second target smart device; correspondingly, the second target smart device is used to send the first identification information to the second target smart device after receiving the confirmation request carrying the identifier of the first target smart device.

[0168] In an achievable manner, the central device is further used to obtain the second configuration states corresponding to each of the plurality of designated smart devices in the smart device system under the first scenario set by the user; set the second identification information corresponding to the first scenario, and send the second identification information and the second configuration state corresponding to the designated smart device to the designated smart device;

[0169] The designated smart device is used to associate the second identification information and the second configuration state after receiving the second identification information and the second configuration state to generate a preset corresponding relationship and store the preset corresponding relationship.

[0170] In an implementable manner, the central device is further configured to obtain a configuration status request of a third target smart device for the second scenario, wherein the configuration status request includes: an adjustment request or a new addition request, and a corresponding third configuration status; determine third identification information corresponding to the second scenario, and send the third identification information and the third configuration status corresponding to the third target smart device to the third target smart device;

[0171] The third target smart device is used to associate the third identification information with the third configuration state after receiving the third identification information and the third configuration state, and update the preset corresponding relationship of the third target smart device.

[0172] In one feasible manner, the central device is also used to obtain the required scene mode sent by the user through the voice assistant of the mobile device; or, to obtain the required scene mode sent by the user through the wall control panel; or, when the presence of a user is detected in the target environment, to determine the main scene according to the user's behavior habits; to determine the sub-scene under the main scene according to the environmental information, and the sub-scene under the main scene is the required scene mode.

[0173] In one achievable manner, the preset corresponding relationship in the smart device is stored in a non-volatile storage medium of the smart device.

[0174] In one feasible manner, the intelligent device is also used to automatically detect faults, wherein the process of automatically detecting faults includes: obtaining abnormal parts; determining the linkage parts associated with the abnormal parts based on the abnormal parts; determining the operating information corresponding to the abnormal parts, and the operating information of the linkage parts for a preset time period; determining the fault information corresponding to the abnormal parts by using the correspondence between the preset faults and the parts operating information; predicting the operating information at the next moment based on the operating information for the preset time period, and determining the existence of a fault based on the operating information at the next moment, and determining the fault information corresponding to the linkage parts by using the correspondence between the preset faults and the parts operating information; and providing prompts based on the fault information of the abnormal parts and the associated linkage parts.

[0175] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

[0176] An embodiment of the present application provides a computer program product, including a computer program, which implements the corresponding contents of the aforementioned method embodiment when the computer program is executed by a processor.

[0177] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0178] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A distributed smart home control method, characterized in that: Applied to distributed smart home control systems, including: central equipment and smart device systems; The distributed smart home control method is executed by a central device, including: Get the required scenario mode; According to the demand scenario mode, determining first identification information corresponding to the demand scenario mode; The first identification information is sent to multiple smart devices in a smart device system, so that after receiving the first identification information, the smart device determines a first configuration state corresponding to the first identification information from a preset correspondence relationship and operates according to the first configuration state, wherein the preset correspondence relationship is a correspondence relationship between multiple identification information and multiple configuration states.

2. The distributed smart home control method according to claim 1, characterized in that: The sending of the first identification information to multiple smart devices in a smart device system includes: Determine multiple smart devices in a smart device system corresponding to the first identification information; send the first identification information to the multiple smart devices; Alternatively, the first identification information is sent to all smart devices in the smart device system.

3. The distributed smart home control method according to claim 1, characterized in that: Also includes: Get the status switching result sent by the smart device.

4. The distributed smart home control method according to claim 3, characterized in that: Also includes: If the state switching result fed back by the first target smart device is not received, generating and displaying prompt information, wherein the prompt information is used to prompt the user to pay attention to the first target smart device; Or, if the state switching result of the first target smart device is not received, a confirmation request carrying the identifier of the first target smart device is sent to the second target smart device, so that the second target smart device, after receiving the confirmation request carrying the identifier of the first target smart device, sends the first identification information to the first target smart device.

5. The distributed smart home control method according to claim 1, characterized in that: Also includes: Acquire a second configuration state corresponding to each of a plurality of designated smart devices in the smart device system under a first scenario set by a user; Set the second identification information corresponding to the first scene, and send the second identification information and the second configuration state corresponding to the designated smart device to the designated smart device, so that after receiving the second identification information and the second configuration state, the designated smart device associates the second identification information and the second configuration state to generate a preset corresponding relationship, and stores the preset corresponding relationship.

6. The distributed smart home control method according to claim 5, characterized in that: Also includes: Obtaining a configuration status request for a third target smart device for the second scenario, wherein the configuration status request includes: an adjustment request or a new addition request, and a corresponding third configuration status; Determining third identification information corresponding to the second scenario; The third identification information and the third configuration state corresponding to the third target smart device are sent to the third target smart device, so that after receiving the third identification information and the third configuration state, the third target smart device associates the third identification information and the third configuration state and updates the preset correspondence of the third target smart device.

7. The distributed smart home control method according to claim 1, characterized in that: The acquisition demand scenario mode includes any of the following: Obtain the demand scenario mode sent by the user through the voice assistant of the mobile device; Obtain the required scene mode sent by the user through the wall control panel; When the presence of a user in the target environment is detected, a main scene is determined according to the user's behavior habits; a sub-scene under the main scene is determined according to the environmental information, and the sub-scene under the main scene is the required scene mode.

8. A distributed smart home control device, characterized in that: include: An acquisition module is used to obtain the required scenario mode; A determination module, configured to determine first identification information corresponding to the demand scenario mode according to the demand scenario mode; A sending module is used to send the first identification information to multiple smart devices in the smart device system, so that after receiving the first identification information, the smart device determines a first configuration state corresponding to the first identification information from a preset correspondence relationship and operates according to the first configuration state, wherein the preset correspondence relationship is a correspondence relationship between multiple identification information and multiple configuration states.

9. A distributed smart home control system, characterized in that: include: Central device and intelligent device system; the intelligent device system includes multiple intelligent devices; The central device can implement the distributed smart home control method as described in any one of claims 1 to 7.

10. The system according to claim 9, characterized in that The preset corresponding relationship in the smart device is stored in a non-volatile storage medium of the smart device.

Citation Information

Cited By

  • Method and device for controlling equipment

    CN120406259A