A smart home linkage method and device, computer equipment and storage medium
By establishing preset frequency channels among smart home devices for localized linkage, the problem of strong network dependence is solved, and a device linkage solution with high reliability, low latency and privacy protection is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JOMOO KITCHEN & BATHROOM
- Filing Date
- 2026-04-21
- Publication Date
- 2026-07-10
AI Technical Summary
Existing smart home device linkage solutions are highly dependent on the network, resulting in low reliability, high response latency, system complexity, high cost, and a high risk of privacy leaks.
By establishing preset frequency channels among smart home devices, localized device linkage is achieved. Devices can match and communicate directly in real time through pre-stored rules, avoiding cloud dependence and using a 2.4G proprietary protocol for signal transmission.
It improves the reliability and response speed of the linkage, reduces latency, simplifies the deployment process, protects user privacy, and eliminates the risk of cloud data leakage.
Smart Images

Figure CN122362912A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of smart home technology, and in particular to a smart home linkage method, device, computer equipment and storage medium. Background Technology
[0002] With the increasing prevalence of smart homes, consumers' demand for automatic cross-device linkage is growing. Current mainstream solutions heavily rely on home Wi-Fi networks and cloud servers to implement device linkage logic. This approach is highly dependent on the network and has low reliability. The entire linkage link must pass through a home router and an internet cloud server; any interruption in any link (such as router failure, network fluctuations by the ISP, or cloud service outages) will lead to linkage failure and a poor user experience. Furthermore, because data must undergo long-distance, multi-hop transmission via "device-router-cloud server-router-device," there is a perceptible delay (typically on the order of seconds) between triggering and execution. Additionally, users typically need to configure a stable home wireless network and may need to purchase an additional central gateway, which increases the system's deployment complexity, usage threshold, and overall cost. Moreover, sensitive data such as device status and user behavior need to be uploaded to third-party cloud servers for analysis and processing, posing risks of data leakage, misuse, or attacks, and failing to adequately guarantee user privacy and security. Summary of the Invention
[0003] This invention provides a smart home linkage method, device, computer equipment, and storage medium to solve problems such as strong network dependence, low reliability, high response latency, system complexity, high cost, and privacy leakage risks in the prior art.
[0004] In a first aspect, embodiments of the present invention provide a smart home linkage method for controlling the linkage between a first device and a second device, the method comprising: The first device controls the sending of a trigger signal corresponding to the detected event signal; The second device determines whether to execute the linkage task based on the received trigger signal and a preset linkage rule. The first device and the second device communicate on a preset frequency channel.
[0005] Optionally, before the first device controls the sending of a trigger signal corresponding to the detected event signal, the method further includes: The mobile terminal communicates with at least the first device and the second device within a preset distance, generates the preset linkage rules based on user configuration, and sends them to the first device and / or the second device.
[0006] Optionally, the preset linkage rules are generated based on user configuration, including: The user selects to open the control page of the target device, wherein the target device includes at least the first device or the second device; The user selects and determines the target linkage scenario, and then enters the corresponding linkage configuration page; The linked devices and linkage parameters are determined based on the user configuration, and a scene configuration is generated based on the linked devices and linkage parameters; The preset linkage rules are generated based on the scenario configuration and device roles.
[0007] Optionally, the second device, based on the received trigger signal and a preset linkage rule, determines whether to execute a linkage task, including: If the second device receives the trigger signal from the preset frequency channel, it matches the trigger signal with the preset linkage rule; If the second device successfully matches the target rule, the linkage task is executed.
[0008] Optionally, after executing the aforementioned linkage task, the following may also be included: If the linked task continues to execute for more than a preset time, it will stop executing.
[0009] Optionally, the trigger signal includes a device identifier and trigger event information.
[0010] Optionally, the trigger event information of the first device includes a sitting signal and / or a leaving signal, and the preset linkage rules include executing a ventilation start task based on the sitting signal and / or executing a ventilation stop task based on the leaving signal. The linkage task of the second device includes starting ventilation and / or stopping ventilation.
[0011] Optionally, the step of performing the ventilation shutdown task based on the exit signal includes: After a preset time has elapsed since the departure signal was received, the ventilation system is shut down.
[0012] Optionally, the preset frequency channel includes a 2.4G channel.
[0013] Secondly, embodiments of the present invention also provide a smart home linkage method, applied to a second device as an execution terminal device, the method comprising: Based on the received trigger signal and the preset linkage rules, determine whether to execute the linkage task; The second device receives signals from a preset frequency channel.
[0014] Thirdly, embodiments of the present invention also provide a smart home linkage device, the device comprising: The first device is used to control the transmission of a trigger signal corresponding to the detected event signal based on the event signal. The second device is used to determine whether to execute a linkage task based on the received trigger signal and a preset linkage rule. The first device and the second device communicate on a preset frequency channel.
[0015] Optionally, the device further includes: A mobile terminal is configured to communicate with at least the first device and the second device within a preset distance, generate the preset linkage rules based on user configuration, and send them to the first device and / or the second device.
[0016] Fourthly, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the smart home linkage method provided in any embodiment of the present invention.
[0017] Fifthly, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the smart home linkage method provided in any embodiment of the present invention.
[0018] This invention provides a smart home linkage method for controlling the linkage of a first device and a second device. The first device, based on a detected event signal, controls the sending of a trigger signal corresponding to the event signal. The second device, based on the received trigger signal and a preset linkage rule, determines whether to execute a linkage task. The first and second devices communicate via a preset frequency channel. By performing local matching in real time through pre-stored rules and communicating directly between devices via a specified frequency channel, fully offline localized device linkage is achieved. This is unaffected by home network and internet status, remaining usable even in offline environments, significantly improving linkage reliability. Furthermore, linkage latency can be reduced from seconds to milliseconds, resulting in a more seamless and smooth user experience. Deployment is also simplified, and device status and user behavior data only need to be transmitted point-to-point between devices, eliminating the risk of cloud privacy leaks. Attached Figure Description
[0019] Figure 1 A flowchart of the smart home linkage method provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of an exemplary linkage control process provided in Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of another exemplary linkage control process provided in Embodiment 1 of the present invention; Figure 4 This is a schematic diagram of the system structure of an exemplary single linkage scenario provided in Embodiment 1 of the present invention; Figure 5 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Detailed Implementation
[0020] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0021] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processes, many of these steps can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the steps can be rearranged. The process can be terminated when its operation is complete, but may also have additional steps not included in the figures. The process can correspond to a method, function, procedure, subroutine, subroutine, etc.
[0022] Example 1 Figure 1 This is a flowchart of a smart home linkage method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where multiple devices are linked and controlled in the absence of a network. The smart home linkage method provided in this embodiment is used to control the linkage of a first device and a second device, wherein the first device and the second device communicate on a preset frequency channel. Figure 1 As shown, the method specifically includes the following steps: S11. The first device controls the sending of a trigger signal corresponding to the detected event signal based on the detected event signal.
[0023] S12. The second device determines whether to execute the linkage task based on the received trigger signal and a preset linkage rule.
[0024] Specifically, the first device can be used as a trigger device, and the second device can be used as an execution device. The trigger device can be any device that needs to detect trigger events. For example, a smart toilet can be used to detect the sitting event, and a smart bathroom heater can be used to detect the presence of people, etc. Preset linkage rules corresponding to linkage scenarios can be preconfigured locally on the trigger device to determine target trigger events according to the preset linkage rules and perform real-time detection. When an event signal corresponding to the target trigger event is detected, a corresponding trigger signal can be generated and broadcast through a preset frequency channel, so that the target execution devices in the surrounding corresponding linkage scenarios can execute corresponding target linkage tasks according to the monitored trigger signal. Among them, the same device can be used as both a trigger device and an execution device according to the linkage scenario. Preferably, the preset frequency channel includes a 2.4G channel. The trigger device and the execution device are directly connected through a 2.4G private protocol, getting rid of the dependence on the cloud network and the central gateway. It can still work stably and reliably in an environment without network or with unstable network, and can greatly reduce the end-to-end delay from event trigger to action execution, realizing near-real-time local linkage response. At the same time, it simplifies the deployment architecture of the linkage system, reduces the dependence on the user's home network environment, realizes plug-and-play linkage with no configuration or minimal configuration, and also avoids the device status and linkage control data of the user from flowing through an external server, thus enhancing user privacy and data security at the architecture level. Optionally, the preset frequency channel can also use channels such as 4G and 5G to achieve the transmission of more data signals.
[0025] The execution device can be any device that needs to be used for linkage control. For example, when the execution condition is met, the smart bathroom heater turns on the warm air, and when the execution condition is met, the smart toilet turns on the seat heating, etc. Preset linkage rules can be preconfigured locally on the execution device to indicate what kind of linkage control needs to be performed under what conditions. During use, the execution device can continuously monitor the preset frequency channel. After receiving the trigger signal, it can determine whether to execute the linkage task according to the trigger signal and based on the preset linkage rules.
[0026] In an optional implementation manner, when the second device determines whether to execute the linkage task according to the received trigger signal and based on the preset linkage rules, it includes: if the second device receives the trigger signal of the preset frequency channel, then match the trigger signal with the preset linkage rules; if the second device successfully matches the target rule, then execute the linkage task.
[0027] Specifically, upon receiving a trigger signal, the second device activates its local rule matching engine to match the trigger signal with pre-stored linkage rules. If a match is successful, the linkage task corresponding to the matched target rule is executed. Through this "rule pre-storage, local matching" execution architecture, the entire matching and execution process is completed within the second device, without needing to communicate with any external devices. This effectively offloads and solidifies the linkage logic judgment function from the cloud or gateway to the local device, thus achieving a localized device linkage solution that is independent of external networks, simple to deploy, fast-responding, and protects user privacy.
[0028] Optionally, after executing the linkage task, the method further includes: if the linkage task continues to execute for more than a preset time, then stop execution. This is to avoid false detections causing the device to continue working, thereby balancing comfort and energy conservation. For example, when the smart bathroom heater controlled by the linkage is turned on and working continuously for 1 hour, the heater will automatically turn off.
[0029] In an optional implementation, the trigger signal includes a device identifier and trigger event information. Specifically, the device identifier may be the local MAC address, used by the second device to determine whether the trigger is from a specified device. The trigger event information may include event type and event value, used by the second device to determine whether a specified trigger event has occurred. When the second device performs matching, the corresponding target linkage task is only triggered locally when the device identifier and trigger event information in the received signal are completely consistent with the target rule in the stored preset linkage rules. Specifically, the device identifier can be verified first, followed by the trigger event information. This two-level filtering mechanism implements a lightweight signal filtering and matching logic, ensuring the accuracy and reliability of linkage triggering in a multi-device environment and avoiding false triggers.
[0030] Optionally, the trigger event information of the first device includes a sitting signal and / or a leaving signal, and the preset linkage rules include executing a ventilation task based on the sitting signal and / or executing a ventilation task based on the leaving signal. The linkage task of the second device includes starting ventilation and / or stopping ventilation. Specifically, the first device can be a smart toilet, and the second device can be a smart bathroom heater. For example, when the smart toilet detects a sitting event, it generates a trigger signal and broadcasts it. Upon hearing this trigger signal, the smart bathroom heater automatically starts ventilation to expel stale air from the room to the outdoors. When the smart toilet detects a leaving event, it generates a trigger signal and broadcasts it. Upon hearing this trigger signal, the smart bathroom heater automatically stops ventilation and starts blowing air for 5 minutes to sterilize the air in the room. Additionally, a protection mechanism can be added, such as limiting the duration of the ventilation and blowing processes to no more than one hour, thus balancing comfort and energy conservation.
[0031] Optionally, the step of executing the ventilation shutdown task based on the exit signal includes: initiating ventilation shutdown after a preset time following the occurrence of the exit signal. Specifically, the duration of continued ventilation can be specified to ensure ventilation effectiveness. For example, after the smart bathroom heater detects the trigger signal generated by the smart toilet based on the exit event, it maintains ventilation for 5 minutes and then automatically shuts off the ventilation.
[0032] An exemplary linkage control process is as follows: Figure 2 As shown, when a user enters the bathroom, the smart bathroom heater detects a human presence. If the current room temperature is less than 15°C, it generates a trigger signal and broadcasts it to control the smart toilet to heat the seat. It can also control itself to turn on the bathroom heater's warm air. If the human presence signal disappears for 2 minutes, it generates a trigger signal and broadcasts it to control the smart toilet to turn off the seat heating. It can also control itself to turn off the bathroom heater's warm air.
[0033] Another exemplary linkage control process is as follows: Figure 3 As shown, when the smart toilet detects a sitting event, it can generate a trigger signal and broadcast it to control the smart bathroom heater to turn on ventilation. At the same time, if the current room temperature is greater than 28°C, it generates a trigger signal and broadcasts it to control the smart bathroom heater to turn on the blower. Subsequently, if the sitting signal disappears for 2 minutes, it generates a trigger signal and broadcasts it to control the smart bathroom heater to turn off the blower and ventilation.
[0034] Based on the above technical solution, optionally, before the first device controls the sending of a trigger signal corresponding to the detected event signal, the method further includes: the mobile terminal communicating with at least the first device and the second device within a preset distance, generating the preset linkage rule based on user configuration, and sending it to the first device and / or the second device.
[0035] Specifically, preset linkage rules can be configured and sent by users via mobile terminals. Once received, the devices can permanently store these rules, enabling more customized linkage scenarios. Mobile terminals, such as smartphones and tablets, can communicate with smart home devices via Bluetooth. Both the first and second devices can have built-in dual-mode wireless communication chips supporting Bluetooth and a proprietary 2.4G protocol. By employing a dual-channel division of labor mechanism of "Bluetooth configuration, 2.4G execution," the characteristics of the two wireless technologies are utilized. Bluetooth leverages its low power consumption and convenient connection to mobile devices for complex short-range configurations, while the 2.4G proprietary protocol leverages its high transmission efficiency and good penetration for long-distance, low-latency trigger signal broadcasting between devices. The two technologies have clear division of labor and work together efficiently. Furthermore, the first and second devices can also be controlled using their respective remote controls. An example system structure for a single linkage scenario is as follows: Figure 4 As shown.
[0036] Optionally, generating the preset linkage rules based on user configuration includes: opening the control page of a target device based on user selection, wherein the target device includes at least a first device or a second device; determining a target linkage scenario based on user selection and entering the corresponding linkage configuration page; determining the linkage device and linkage parameters based on user configuration, and generating a scenario configuration according to the linkage device and the linkage parameters; and generating the preset linkage rules according to the scenario configuration and device roles.
[0037] Specifically, users can configure the linkage through target applications such as WeChat mini-programs or dedicated apps on their mobile devices. After launching the target application, it can automatically scan for available devices in the vicinity and display a list of available devices for the user to choose from. After selecting a target device, the user can enter the control page of that target device. The control page can provide pre-selected linkage scenarios, and users can also add their own. Users can click to select a target linkage scenario, such as "Cool Toilet Use in Summer," which will take them to the corresponding linkage configuration page. The linkage configuration page can display a list of devices and tasks that can be linked with the target device. Users can choose to bind linkage devices and linkage tasks, and can click to enter the linkage task page to modify relevant parameters and actions. For example, the trigger condition and execution action of the linkage task can be configured separately. For instance, the trigger condition is that the smart toilet senses a sitting event, and the execution action is that the smart bathroom heater starts ventilation.
[0038] After the user completes the configuration, a scene configuration can be automatically generated based on the corresponding linked devices and parameters, specifically a JSON configuration. Then, based on this scene configuration and the device roles of the relevant devices (e.g., the target device can act as the trigger device, and linked devices as the execution devices), corresponding preset linkage rules can be generated and sent to the corresponding devices via Bluetooth. Configuration can be completed simply by scanning a QR code or bringing the device close to the user's phone, offering high user-friendliness and a simpler configuration process.
[0039] The technical solution provided in this invention is used to control the linkage of a first device and a second device. The first device, based on a detected event signal, controls the sending of a trigger signal corresponding to the event signal; the second device, based on the received trigger signal and a preset linkage rule, determines whether to execute a linkage task; wherein the first device and the second device communicate on a preset frequency channel. By performing local matching in real time through pre-stored rules and communicating directly between devices through a specified frequency channel, fully offline localized device linkage is achieved, unaffected by home networks or internet status, and still usable in offline environments, significantly improving linkage reliability. Furthermore, linkage latency can be reduced from seconds to milliseconds, resulting in a more seamless and smooth user experience, while also simplifying deployment. Device status and user behavior data only need to be transmitted point-to-point between devices, eliminating the risk of cloud privacy leaks.
[0040] Example 2 Embodiment 2 of the present invention also provides a smart home linkage method, which is applicable to the linkage control of multiple devices under offline conditions. The smart home linkage method provided in this embodiment is applied to a second device as the execution terminal device, and the method specifically includes the following steps: Based on the received trigger signal and the preset linkage rules, determine whether to execute the linkage task; The second device receives signals from a preset frequency channel.
[0041] This embodiment of the smart home linkage method broadcasts a trigger signal via a preset frequency channel, enabling execution devices in the surrounding linkage scenarios to receive the signal. The second device executes the corresponding target linkage task based on the detected trigger signal. Preferably, the preset frequency channel includes a 2.4G channel. The execution devices connect directly via a 2.4G proprietary protocol, eliminating reliance on cloud networks and central gateways. This allows for stable and reliable operation even in environments without or with unstable networks. Furthermore, it significantly reduces end-to-end latency from event triggering to action execution, achieving near real-time local linkage response. Simultaneously, it simplifies the deployment architecture of the linkage system, reduces dependence on the user's home network environment, and enables plug-and-play linkage with minimal or no configuration. Additionally, it avoids the flow of user device status and linkage control data through external servers, thereby improving user privacy and data security at the architectural level. Optionally, the preset frequency channel can also use 4G, 5G, or other channels to enable the transmission of more data signals. Optionally, the trigger event information includes sitting signals, leaving signals, shower signals, etc., and the preset linkage rules include executing a ventilation task based on the sitting signal and / or executing a ventilation task based on the leaving signal. The linkage tasks of the second device include starting ventilation and / or stopping ventilation. For example, the second device is a smart bathroom heater. When the smart toilet detects a sitting event, it generates a trigger signal and broadcasts it. Upon hearing this trigger signal, the smart bathroom heater automatically starts ventilation to expel stale air from the room to the outdoors. When the smart toilet detects a leaving event, it generates a trigger signal and broadcasts it. Upon hearing this trigger signal, the smart bathroom heater automatically stops ventilation and turns on the blower for 5 minutes to ventilate or sterilize the air in the room. The user operates the device without being aware of its surroundings, and the device automatically ventilates the ambient air and can automatically stop within a preset time period, avoiding the need for the user to constantly turn on the ventilation control when entering and leaving, thus improving the user experience.
[0042] Example 3 Embodiment 3 of the present invention also provides a smart home linkage device, which includes: The first device is used to control the transmission of a trigger signal corresponding to the detected event signal based on the event signal. The second device is used to determine whether to execute a linkage task based on the received trigger signal and a preset linkage rule. The first device and the second device communicate on a preset frequency channel.
[0043] Optionally, the device further includes: A mobile terminal is configured to communicate with at least the first device and the second device within a preset distance, generate the preset linkage rules based on user configuration, and send them to the first device and / or the second device.
[0044] The smart home linkage device provided in this embodiment can execute the smart home linkage method provided in any embodiment of the present invention. The execution method can provide a localized device that does not rely on external networks, is simple to deploy, responds quickly, and can protect user privacy in practical application scenarios, such as bathrooms, basements, and other areas with poor network signals, or due to concerns about network stability, installation complexity, and data privacy.
[0045] Example 4 Figure 5 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention, showing a block diagram of an exemplary computer device suitable for implementing the embodiments of the present invention. Figure 5 The computer device shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments of the present invention. Figure 5 As shown, the computer device includes a processor 31, a memory 32, an input device 33, and an output device 34; the number of processors 31 in the computer device can be one or more. Figure 5 Taking a processor 31 as an example, the processor 31, memory 32, input device 33, and output device 34 in a computer device can be connected via a bus or other means. Figure 5 Taking the example of a connection between China and Israel via a bus.
[0046] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the smart home linkage method in this embodiment of the invention. The processor 31 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 32, thereby realizing the aforementioned smart home linkage method.
[0047] Input device 33 can be used to receive trigger signals and generate key signal inputs related to user settings and function control of the computer device. Output device 34 can be used to send trigger signals, etc.
[0048] Example 5 Embodiment 5 of the present invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a smart home linkage method, the method comprising: The first device controls the sending of a trigger signal corresponding to the detected event signal; The second device determines whether to execute the linkage task based on the received trigger signal and a preset linkage rule. The first device and the second device communicate on a preset frequency channel.
[0049] Storage media can be any type of memory device or storage device. The term "storage media" is intended to include: mounting media, such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disks or optical storage); registers or other similar types of memory elements. Storage media may also include other types of memory or combinations thereof. Furthermore, storage media may reside in a computer system in which the program is executed, or may reside in a different second computer system connected to the computer system via a network (such as the Internet). The second computer system can provide program instructions to the computer for execution. The term "storage media" can include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). Storage media may store program instructions (e.g., specifically implemented as a computer program) that can be executed by one or more processors.
[0050] Of course, the computer-executable instructions provided in the embodiments of the present invention are not limited to the method operations described above, but can also perform related operations in the smart home linkage method provided in any embodiment of the present invention.
[0051] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0052] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0053] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0054] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A smart home linkage method for controlling the linkage between a first device and a second device, characterized in that, include: The first device controls the sending of a trigger signal corresponding to the detected event signal; The second device determines whether to execute the linkage task based on the received trigger signal and a preset linkage rule. The first device and the second device communicate on a preset frequency channel.
2. The smart home linkage method according to claim 1, characterized in that, Before the first device controls the sending of a trigger signal corresponding to the detected event signal, the method further includes: The mobile terminal communicates with at least the first device and the second device within a preset distance, generates the preset linkage rules based on user configuration, and sends them to the first device and / or the second device.
3. The smart home linkage method according to claim 2, characterized in that, The preset linkage rules are generated based on user configuration, including: The user selects to open the control page of the target device, wherein the target device includes at least the first device or the second device; The user selects and determines the target linkage scenario, and then enters the corresponding linkage configuration page; The linked devices and linkage parameters are determined based on the user configuration, and a scene configuration is generated based on the linked devices and linkage parameters; The preset linkage rules are generated based on the scenario configuration and device roles.
4. The smart home linkage method according to claim 1, characterized in that, The second device, based on the received trigger signal and a preset linkage rule, determines whether to execute a linkage task, including: If the second device receives the trigger signal from the preset frequency channel, it matches the trigger signal with the preset linkage rule; If the second device successfully matches the target rule, the linkage task is executed.
5. The smart home linkage method according to claim 4, characterized in that, After executing the aforementioned linkage task, the following is also included: If the linked task continues to execute for more than a preset time, it will stop executing.
6. The smart home linkage method according to claim 1, characterized in that, The trigger signal includes a device identifier and trigger event information.
7. The smart home linkage method according to claim 6, characterized in that, The trigger event information of the first device includes a seated signal and / or an unseated signal, and the preset linkage rules include executing a ventilation start task based on the seated signal and / or executing a ventilation stop task based on the unseated signal. The linkage tasks of the second device include starting ventilation and / or stopping ventilation.
8. The smart home linkage method according to claim 7, characterized in that, The process of performing the ventilation shutdown task based on the exit signal includes: After a preset time has elapsed since the departure signal was received, the ventilation system is shut down.
9. The smart home linkage method according to claim 1, characterized in that, The preset frequency channel includes a 2.4G channel.
10. A smart home linkage method, characterized in that, Applied to a second device as an execution end device, the method includes: Based on the received trigger signal and the preset linkage rules, determine whether to execute the linkage task; The second device receives signals from a preset frequency channel.
11. A smart home linkage device, characterized in that, include: The first device is used to control the transmission of a trigger signal corresponding to the detected event signal based on the event signal. The second device is used to determine whether to execute a linkage task based on the received trigger signal and a preset linkage rule. The first device and the second device communicate on a preset frequency channel.
12. The smart home linkage device according to claim 11, characterized in that, The device further includes: A mobile terminal is configured to communicate with at least the first device and the second device within a preset distance, generate the preset linkage rules based on user configuration, and send them to the first device and / or the second device.
13. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the smart home linkage method as described in any one of claims 1-10.
14. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the smart home linkage method as described in any one of claims 1-10.