A smart home gateway coordination system

By detecting and coordinating the actual and expected states of smart home devices, the problem of missing control in cross-gateway control is solved, and the stable operation of smart home systems and user experience is improved.

CN116232806BActive Publication Date: 2025-08-12DONGGUAN WEIRUI ELECTCONIC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310058337.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-17
Publication Date
2025-08-12
Estimated Expiration
2043-01-17

AI Technical Summary

Technical Problem

When existing smart home systems control smart home devices across gateways, they are prone to missed control or the device does not perform adjustments, resulting in system failure and affecting user experience.

Method used

The mirror gateway coordination system is used to detect whether the actual working status of the smart home device is consistent with the expected working status through the mirror gateway, and a prompt control command is generated when inconsistent, ensuring that the gateway resends the control command until the device state is consistent, so as to achieve coordinated control between different gateways.

Benefits of technology

It effectively avoids missed control and equipment failure to execute, ensuring the normal operation and user experience of the smart home system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232806B_ABST
    Figure CN116232806B_ABST
Patent Text Reader

Abstract

The present invention relates to a smart home gateway coordination system and method. The system includes at least two gateways, a plurality of smart home devices, and a mirror gateway. The two gateways are communicatively connected to each other, each gateway being capable of communicating with at least one smart home device in the smart home system, and the mirror gateway being communicatively connected with all smart home devices in the smart home system. The gateway generates a control instruction based on the desired operating state of the smart home device and sends it to the smart home device and the mirror gateway. After receiving the control instruction, the mirror gateway detects the actual operating state of the smart home device to determine whether the actual operating state is consistent with the desired operating state. If the actual operating state is inconsistent with the desired operating state, the gateway resends the control instruction to the smart home device so that the actual operating state of the smart home device is consistent with the desired operating state, thereby avoiding the situation where the smart home system fails to control or the smart home device fails to perform adjustments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to a smart home gateway coordination system. Background Art

[0002] The communication connection performance and device access scalability of existing smart home gateways have many shortcomings. The number of smart home devices that can be connected to a single gateway is limited. As the number of smart home devices increases, existing smart home systems usually adopt the method of setting up multiple gateways to cope with the increasing number of smart home devices.

[0003] For example, Chinese patent publication number CN111211950A discloses a distributed smart home gateway system, which includes a data gateway device, a home gateway device, and multiple application gateway devices. The data gateway device is capable of communicating with an external network to enable information exchange between the system and the external network. The home gateway device is capable of communicating with the data gateway device and multiple application gateway devices, respectively, to enable information exchange between the home gateway device, the data gateway device, and the multiple application gateway devices. Each application gateway device is capable of communicating with one or more smart home devices to enable information exchange between the application gateway device and the smart home devices, thereby intelligently managing and controlling the smart home devices. The home gateway device may also include a memory storing computer program control instructions, and a second controller is capable of reading and executing the computer program control instructions stored in the memory to achieve overall control of the various components in the home gateway device and management and control of the application gateway device. The application gateway device may also include a memory storing computer program control instructions, and a third controller is capable of reading and executing the computer program control instructions stored in the memory to achieve overall control of the various components in the application gateway device and management and control of the smart home devices.

[0004] Chinese patent publication number CN110620711B discloses a smart home client and a multi-gateway control method thereof. The smart home client includes an operation interface, a multi-gateway data parsing module and a control module. The operation interface can send a control signal to the multi-gateway data control module according to the customer's selection. The multi-gateway data control module can convert the control signal into a control instruction and send it to the corresponding gateway through the control module; the multi-gateway control method uses the above-mentioned smart home client, and the control method is as follows: determining the gateway to which the device belongs; classifying the device and generating a control instruction; generating a unique identifier for the scenario and merging the scenarios; determining the gateway corresponding to each scenario in the merged scenario, generating a control instruction and transmitting it to the corresponding gateway via the control module; the gateway transmits the control instruction to the corresponding device and performs the corresponding operation.

[0005] For smart home systems with multiple application gateways, when adjusting the working status of smart home devices, it is generally necessary for the home gateway with higher management authority to issue control instructions to the application gateway, and then the application gateway issues control instructions to the smart home devices to adjust the working status of the smart home devices. This places high performance requirements on the home gateway with higher management authority, resulting in a high cost of the smart home system. The cost of deploying a smart home system can be reduced by using the method of mutual communication between application gateways. However, when a user establishes a communication connection with a gateway in the smart home system and uses the gateway to adjust the working status of smart home devices connected to other gateways, it is easy for data loss to cause control to be missed or the smart home devices to fail to perform adjustments, causing the smart home system to fail and thus lose the management function of the smart home devices. When controlling smart home devices across gateways, the existing home system is prone to control missed or the smart home devices not performing adjustments, affecting the user experience.

[0006] In addition, on the one hand, there are differences in understanding among those skilled in the art; on the other hand, the applicant studied a large number of documents and patents when making the present invention, but due to space limitations, not all details and contents are listed in detail. However, this does not mean that the present invention does not have the characteristics of these prior arts. On the contrary, the present invention already has all the characteristics of the prior art, and the applicant reserves the right to add relevant prior art to the background technology. Summary of the Invention

[0007] The prior art uses multiple application gateways connected to numerous smart home devices. When adjusting the operating status of a smart home device, a home gateway with higher management authority generally needs to issue control instructions to the application gateway, which then issues control instructions to the smart home device, thereby adjusting the operating status of the smart home device. Although the prior art utilizes communication connections between application gateways to enable one gateway to adjust the operating status of a smart home device connected to another gateway, all reported and issued information and control instructions between the smart home device and the gateway, and between the gateway and the server, need to be converted according to their own communication protocols during transmission. Consequently, a mixed synchronous and asynchronous mode is used in the entire smart home communication network, resulting in a certain degree of bit loss and bit error rate. This often results in missed controls or failure of smart home devices connected to another gateway to execute adjustment control instructions in actual use.

[0008] To address the shortcomings of existing technologies, the present invention provides a smart home gateway coordination system. The smart home gateway coordination system comprises at least two gateways, a number of smart home devices, and a mirroring gateway. Based on the desired operating state of the smart home devices, the gateways generate control instructions and send them to the smart home devices and the mirroring gateways. In response to receiving the control instructions, the mirroring gateways detect the actual operating states of the smart home devices to determine whether they are consistent with the desired operating states.

[0009] Preferably, when the actual working state is inconsistent with the expected working state, the mirroring gateway generates a prompt control instruction sent to the gateway, so that the gateway resends the control instruction to the smart home device whose actual working state is inconsistent with the expected working state until the actual working state of the smart home device is consistent with the expected working state.

[0010] Preferably, the present invention judges the execution of the control instruction by setting a mirror gateway to obtain the control instruction and the actual working status of the smart home device to determine whether the adjustment is completed, thereby avoiding missed control.

[0011] When the actual working state of the smart home device is inconsistent with the expected working state in the control instruction, the mirror gateway can generate a prompt control instruction based on the difference between the actual working state of the smart home device and the expected working state and send it to the gateway, so that the gateway resends the control instruction for the smart home device with the difference between the actual working state and the expected working state, ensuring that the smart home device executes the control instruction, thereby realizing coordinated control between different gateways, and effectively eliminating missed control, or the situation where the smart home device does not execute the control instruction of an unconnected gateway.

[0012] According to a preferred embodiment, the smart home device is in communication with the gateway and the mirror gateway, respectively. In response to receiving the control instruction, the smart home device adjusts its operating state according to the control instruction and reports the actual operating state after the adjustment to the gateway and the mirror gateway.

[0013] Because the gateway needs to communicate with a large number of smart home devices, in single-family homes, such as homes, smart homes typically use personal routers or servers to build a home-wide communication network. For example, home WiFi can be used as a gateway to connect to the smart home. However, if there are WiFi network anomalies, gateway malfunctions due to process or thread anomalies, gateway hardware failures, smart home devices experiencing co-channel interference, or smart home devices are far from the gateway, resulting in poor communication signals, the gateway may fail to send control commands to the smart home devices.

[0014] Preferably, the smart home device reports the actual working status of the completed adjustment to the gateway, so that the gateway can confirm that the smart home device has completed the adjustment of its own working status.

[0015] Preferably, the smart home device reports the actual working status of the completed adjustment to the mirroring gateway, so that the mirroring gateway can determine whether the smart home device adjusts its own working status according to the control instruction, thereby determining whether there is a control omission or non-execution when the gateway transmits the control instruction to the smart home device.

[0016] According to a preferred embodiment, the mirroring gateway is communicatively connected to at least two of the gateways, and the gateways are communicatively connected to each other. Each gateway is communicatively connected to at least one smart home device in the smart home system, and the mirroring gateway is communicatively connected to all of the smart home devices in the smart home system.

[0017] Preferably, when each of the gateways generates and sends a control instruction, it sends the control instruction to the mirror gateway. The mirror gateway obtains the actual working status of the smart home device that executes the control instruction based on the control instruction to determine whether the actual working status of the smart home device is consistent with the expected working status.

[0018] Preferably, the mirror gateway can verify the execution of any control instruction in the smart home system to determine whether there is any omission of control or non-execution, thereby ensuring the normal operation of the smart home system.

[0019] According to a preferred embodiment, the gateway includes a first gateway connected to a part of the smart home devices in the smart home system, and a second gateway connected to another part of the smart home devices in the smart home system.

[0020] According to a preferred embodiment, the first gateway adjusts the operating state of at least one smart home device connected to the second gateway using at least two different adjustment methods. Preferably, one adjustment method is: the first gateway sends the desired operating state of at least one smart home device connected to the second gateway to the second gateway; the second gateway generates a control instruction based on the desired operating state and sends it to the connected smart home device. Preferably, another adjustment method is: the first gateway generates a control instruction based on the desired operating state of the smart home device and sends it to the second gateway connected to the smart home device; the second gateway forwards the control instruction to the connected smart home device.

[0021] Preferably, the present invention employs a method in which the first gateway generates a control instruction based on the desired operating state of the smart home device and sends it to the second gateway connected to the smart home device; the second gateway then forwards the control instruction to the connected smart home device. Preferably, both the sender and receiver of the control instruction synchronize the sending and receiving status of the control instruction to the mirroring gateway, thereby supervising the transmission of the control instruction and preventing information loss during the transmission process.

[0022] According to a preferred embodiment, the first gateway and / or the second gateway generates the control instruction and sends the control instruction to the mirror gateway. In response to receiving the control instruction, the mirror gateway detects the actual working status of the smart home device that receives the control instruction.

[0023] Preferably, the mirroring gateway determines whether the smart home device executes the control instruction by detecting the actual working status of the smart home device that receives the control instruction.

[0024] According to a preferred embodiment, in response to receipt of the control instruction, the mirroring gateway compares the actual working status detected and / or reported by the smart home device with the expected working status in the control instruction to determine whether the actual working status is consistent with the expected working status.

[0025] In a case where the actual working state is inconsistent with the expected working state, the mirroring gateway generates a prompt control instruction and sends it to the first gateway and / or the second gateway that generates the control instruction.

[0026] In response to receipt of the prompt control instruction, the first gateway and / or the second gateway resends the control instruction to the smart home device whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device is consistent with the expected working state.

[0027] Preferably, if the mirrored gateway determines that the actual operating state of the smart home device is inconsistent with the expected operating state, the first gateway and / or the second gateway resends the control instruction to the smart home device whose actual operating state is inconsistent with the expected operating state, thereby eliminating missed control and non-execution of the smart home device, thereby ensuring the normal operation of the smart home system. Preferably, if the actual operating state of the smart home device remains unchanged after the first gateway and / or the second gateway resends the control instruction to the smart home device whose actual operating state is inconsistent with the expected operating state, the mirrored gateway determines that the smart home device is abnormal and sends an alarm message to the first gateway and / or the second gateway. Based on the alarm message, the first gateway and / or the second gateway sends information about the abnormality of the smart home device to the user.

[0028] According to a preferred embodiment, each of the gateways is connected to the smart home devices belonging to the same extended type; or, each of the gateways is connected to the smart home devices belonging to the same area.

[0029] The present invention also provides a smart home gateway coordination method. The smart home gateway coordination method adopts the smart home gateway coordination system provided by the present invention, and the smart home gateway coordination method at least includes:

[0030] Setting at least two gateways and a mirror gateway, wherein each of the gateways is connected to a number of smart home devices;

[0031] The gateway generates a control instruction based on the expected working state of the smart home device and sends it to the smart home device and the mirroring gateway;

[0032] In response to receiving the control instruction, the smart home device adjusts the working state according to the control instruction, and reports the actual working state after the adjustment to the gateway and the mirror gateway;

[0033] In response to receipt of the control instruction, the mirroring gateway compares the actual working state detected and / or reported by the smart home device with the expected working state in the control instruction to determine whether the actual working state is consistent with the expected working state.

[0034] According to a preferred embodiment, the smart home gateway coordination method further includes:

[0035] When the mirroring gateway confirms that the actual working state of the smart home device is inconsistent with the expected working state,

[0036] The mirror gateway generates a prompt control instruction and sends it to the gateway that generates the control instruction;

[0037] In response to receipt of the prompt control instruction, the second gateway resends the control instruction to the smart home device whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device is consistent with the expected working state. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a simplified schematic diagram of a smart home gateway coordination system according to a preferred embodiment of the present invention;

[0039] Figure 2 It is a simplified schematic diagram of a smart home gateway coordination system according to another preferred embodiment of the present invention.

[0040] Reference Signs List

[0041] 100: Smart home gateway coordination system; 110: Gateway; 111: First gateway; 112: Second gateway; 120: Smart home devices; 121: Smart camera; 122: Smart TV; 123: Smart speaker; 124: Smart bed; 130: Mirror gateway. DETAILED DESCRIPTION

[0042] The following is combined with Figure 1 and 2 Provide detailed explanation.

[0043] Example 1

[0044] This embodiment provides a smart home gateway coordination system 100. Figure 1 Preferably, the smart home gateway coordination system 100 includes at least two gateways 110, several smart home devices 120, and a mirroring gateway 130. Preferably, the smart home devices 120 are communicatively connected to the gateways 110 and the mirroring gateway 130, respectively. Preferably, the mirroring gateway 130 is communicatively connected to at least two gateways 110, and the gateways 110 are communicatively connected to each other. Each gateway 110 is capable of communicating with at least one smart home device 120 in the smart home system, and the mirroring gateway 130 is communicatively connected with all smart home devices 120 in the smart home system. Preferably, the mirroring gateway 130 can be a separate device that is connected to all devices in the smart home system.

[0045] Preferably, in a smart home system, gateway 110 needs to process data and issue control instructions to the connected smart home devices 120 to adjust the operating status of the smart home devices 120. Due to hardware limitations, the data that a single gateway 110 can process is limited, limiting the number of smart home devices 120 that can be connected to it. Mirroring gateway 130 is primarily used to monitor the status of gateways 110 and smart home devices 120 in the smart home system and mirror the transmitted data. It bears less data processing responsibility, and thus, mirroring gateway 130 can connect to a greater number of devices in the smart home system's communication network than gateway 110 can. In particular, in a smart home system designed for home use, a single mirroring gateway 130 can typically connect to all gateways 110 and smart home devices 120 in the smart home system.

[0046] Preferably, the gateway 110 generates a control instruction based on the desired operating state of the smart home device 120 and sends it to the smart home device 120 and the mirroring gateway 130. In response to receiving the control instruction, the mirroring gateway 130 detects the actual operating state of the smart home device 120 to determine whether the actual operating state is consistent with the desired operating state.

[0047] Preferably, when the actual working state is inconsistent with the expected working state, the mirroring gateway 130 generates a prompt control instruction sent to the gateway 110, so that the gateway 110 resends the control instruction to the smart home device 120 whose actual working state is inconsistent with the expected working state until the actual working state of the smart home device 120 is consistent with the expected working state.

[0048] Preferably, the present invention judges the execution of the control instruction by setting the mirror gateway 130 to obtain the control instruction and the actual working status of the smart home device 120 to determine whether the adjustment is completed, thereby avoiding missed control.

[0049] When the actual working state of the smart home device 120 is inconsistent with the expected working state in the control instruction, the mirroring gateway 130 can generate a prompt control instruction based on the difference between the actual working state of the smart home device 120 and the expected working state and send it to the gateway 110, so that the gateway 110 resends the control instruction for the smart home device 120 with the difference between the actual working state and the expected working state, ensuring that the smart home device 120 executes the control instruction, thereby realizing coordinated control between different gateways 110, and effectively eliminating missed control or the situation where the smart home device 120 does not execute the control instruction of the unconnected gateway 110.

[0050] In response to receiving the control command, the smart home device 120 adjusts its operating state according to the control command and reports the actual adjusted operating state to the gateway 110 and the mirroring gateway 130. Preferably, because the gateway 110 uses both synchronous and asynchronous communication architectures when connecting to different smart home devices 120, when the amount of data reported to the gateway 110 by the smart home device 120 is large, in order to reduce the data processing load of the gateway 110, the gateway 110 and some smart home devices 120 use a send-without-feedback mechanism to issue control commands. In this case, the execution of the control commands by the smart home device 120 is monitored by the mirroring gateway 130.

[0051] Preferably, the smart home device 120 reports the actual working status of the completed adjustment to the gateway 110, so that the gateway 110 can confirm that the smart home device 120 has completed the adjustment of its own working status.

[0052] Preferably, the smart home device 120 reports the actual working status of the completed adjustment to the mirroring gateway 130, so that the mirroring gateway 130 can determine whether the smart home device 120 adjusts its own working status according to the control instruction, thereby determining whether there is any omission of control or non-execution when the gateway 110 transmits the control instruction to the smart home device 120.

[0053] Preferably, when each gateway 110 generates and sends a control instruction, it sends the control instruction to the mirroring gateway 110. The mirroring gateway 110 obtains the actual working status of the smart home device 120 that executes the control instruction according to the control instruction to determine whether the actual working status of the smart home device 120 is consistent with the expected working status.

[0054] Preferably, the mirroring gateway 130 can verify the execution of any control instruction in the smart home system to determine whether there is any omission of control or non-execution, thereby ensuring the normal operation of the smart home system.

[0055] Preferably, the gateway 110 includes a first gateway 111 connected to a portion of the smart home devices 120 in the smart home system, and a second gateway 112 connected to another portion of the smart home devices 120 in the smart home system.

[0056] Preferably, each gateway 110 is connected to smart home devices 120 belonging to the same extension type; or, each gateway 110 is connected to smart home devices 120 belonging to the same area.

[0057] Preferably, in this embodiment, each gateway 110 is connected to smart home devices 120 belonging to the same area.

[0058] Preferably, the first gateway 111 may be the gateway 110 located in the living room. Preferably, the first gateway 111 may be communicatively connected to smart home devices 120 located in the living room, such as a smart camera 121 and a smart TV 122. Preferably, the second gateway 112 may be the gateway 110 located in the bedroom. Preferably, the second gateway 112 may be communicatively connected to smart home devices 120 located in the bedroom, such as a smart speaker 123 and a smart bed 124.

[0059] Preferably, the first gateway 111 adjusts the operating state of at least one smart home device 120 connected to the second gateway 112 using at least two different adjustment methods. Preferably, one adjustment method is: the first gateway 111 sends the desired operating state of at least one smart home device 120 connected to the second gateway 112 to the second gateway 112; the second gateway 112 generates a control instruction based on the desired operating state and sends it to the connected smart home device 120. Preferably, another adjustment method is: the first gateway 111 generates a control instruction based on the desired operating state of the smart home device 120 and sends it to the second gateway 112 connected to the smart home device 120; the second gateway 112 forwards the control instruction to the connected smart home device 120.

[0060] Preferably, the present invention employs a method whereby the first gateway 111 generates a control instruction based on the desired operating state of the smart home device 120 and sends it to the second gateway 112 connected to the smart home device 120; the second gateway 112 then forwards the control instruction to the connected smart home device 120. Preferably, both the sender and receiver of the control instruction synchronize the transmission and reception of the control instruction with the mirroring gateway 130, thereby supervising the transmission of the control instruction and preventing information loss during transmission.

[0061] Preferably, the first gateway 111 and / or the second gateway 112 generates a control instruction and sends the control instruction to the mirroring gateway 130. In response to receiving the control instruction, the mirroring gateway 130 detects the actual working status of the smart home device 120 that receives the control instruction.

[0062] Preferably, the mirroring gateway 130 determines whether the smart home device 120 executes the control instruction by detecting the actual working status of the smart home device 120 that receives the control instruction.

[0063] Preferably, in response to receipt of the control instruction, the mirroring gateway 130 compares the actual working status detected and / or reported by the smart home device 120 with the expected working status in the control instruction to determine whether the actual working status is consistent with the expected working status.

[0064] When the actual working state is inconsistent with the expected working state, the mirroring gateway 130 generates a prompt control instruction and sends it to the first gateway 111 and / or the second gateway 112 that generates the control instruction.

[0065] In response to receipt of the prompt control instruction, the first gateway 111 and / or the second gateway 112 resends the control instruction to the smart home device 120 whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device 120 is consistent with the expected working state.

[0066] Preferably, if the mirroring gateway 130 determines that the actual operating state of the smart home device 120 is inconsistent with the expected operating state, the first gateway 111 and / or the second gateway 112 resends the control command to the smart home device 120 whose actual operating state is inconsistent with the expected operating state, thereby eliminating missed control and non-execution by the smart home device 120, and ensuring the normal operation of the smart home system. Preferably, if the actual operating state of the smart home device 120 remains unchanged after the first gateway 111 and / or the second gateway 112 resends the control command to the smart home device 120 whose actual operating state is inconsistent with the expected operating state, the mirroring gateway 130 determines that the smart home device 120 is abnormal and sends an alarm to the first gateway 111 and / or the second gateway 112. Based on the alarm, the first gateway 111 and / or the second gateway 112 sends information to the user indicating the abnormality of the smart home device 120.

[0067] Preferably, the smart home gateway coordination system 100 can control the working status of each smart home device 120 according to the user's living habits and / or control instructions issued by the user.

[0068] Preferably, when the user is in the living room, the user can establish a communication connection with the first gateway 111 set up in the living room through a smart terminal such as a mobile phone or tablet computer. Preferably, when the user wants to go to bed, the user can adjust the working status of the smart home device 120 in the bedroom through the mobile phone or tablet computer in the living room. Specifically, the user can adjust the tilt angle of the smart bed 124 in the bedroom in the living room to adapt to their own usage habits.

[0069] Preferably, the user sends an angle that suits his or her own usage habits, such as 15°, as the desired working state of the smart bed 124 to the first gateway 111 set in the living room. The first gateway 111 generates a control instruction according to the desired working state of the smart bed 124. Preferably, the information contained in the control instruction includes at least a code corresponding to "the tilt angle is 15°". Preferably, after generating the control instruction, the first gateway 111 sends the control instruction to the second gateway 112 that is communicatively connected to the smart home device 120 in the bedroom. After receiving the control instruction, the second gateway 112 that is communicatively connected to each smart home device 120 in the bedroom forwards the control instruction to the smart bed 124. In response to the receipt of the control instruction, the smart bed 124 adjusts the tilt angle so that the actual tilt angle is 15°, thereby making the actual working state of the smart bed 124 consistent with the desired working state.

[0070] Preferably, when sending a control instruction to the second gateway 112, the first gateway 111 packages the control instruction and the recipient (second gateway 112) information and synchronizes it to the mirroring gateway 130. After receiving the control instruction and the recipient (second gateway 112) information, the mirroring gateway 130 detects whether the recipient (second gateway 112) has received the information. Preferably, when the second gateway 112 receives the control instruction, the second gateway 112 synchronizes the received control instruction and the recipient (first gateway 111) information to the mirroring gateway 130. After receiving the control instruction and the recipient (first gateway 111) information sent by the second gateway 112, the mirroring gateway 130 verifies the control instruction and the recipient (first gateway 111) information with the control instruction and the recipient (second gateway 112) information sent by the first gateway 111, thereby ensuring the integrity of the control instruction during transmission and preventing the control instruction from being executed due to missing control instruction content. Preferably, the verification performed by the mirroring gateway 130 includes confirming whether the sending and receiving objects match and confirming whether the contents of the two control instructions are consistent.

[0071] Preferably, when the second gateway 112 forwards the control instruction to the smart bed 124, the first gateway 111 synchronizes the control instruction and the receiving object (smart bed 124) information to the mirror gateway 130. After receiving the control instruction and the receiving object (smart bed 124) information, the mirror gateway 130 detects the information reception status of the receiving object (smart bed 124) or the actual working status of the receiving object (smart bed 124). Preferably, when the smart bed 124 receives the control instruction, it synchronizes the control instruction and the sending object (second gateway 112) information to the mirror gateway 130. After receiving the control instruction and the sending object (second gateway 112) information sent by the smart bed 124, the mirror gateway 130 verifies the control instruction and the sending object (second gateway 112) information with the control instruction and the receiving object (smart bed 124) information sent by the second gateway 112, thereby determining the integrity of the control instruction during transmission and avoiding the inability to execute the control instruction due to missing control instruction content. Preferably, the verification performed by the mirroring gateway 130 includes: confirming whether the sending object matches the receiving object, and confirming whether the contents of the two control instructions are consistent.

[0072] Preferably, after the smart bed 124 adjusts the tilt angle to 15° in response to receiving the control instruction, the smart bed 124 sends the adjusted tilt angle (actual operating state) to the mirroring gateway 130. After receiving the actual operating state sent by the smart bed 124, the mirroring gateway 130 compares the actual operating state of the smart bed 124 with the expected operating state of the smart bed 124 in the control instruction to confirm whether the actual tilt angle of the smart bed 124 is 15°, thereby determining that the actual operating state of the smart bed 124 is consistent with the expected operating state.

[0073] Preferably, when the mirroring gateway 130 verifies that the control instruction sent by the first gateway 111 to the second gateway 112 is inconsistent, the mirroring gateway 130 sends a prompt message to the first gateway 111 so that the first gateway 111 resends the control instruction to the second gateway 112.

[0074] Preferably, when the mirror gateway 130 verifies that the control instruction sent by the second gateway 112 to the smart bed 124 is inconsistent, the mirror gateway 130 sends a prompt message to the second gateway 112, so that the second gateway 112 re-sends the control instruction to the smart bed 124.

[0075] Preferably, when the actual tilt angle of the smart bed 124 received by the mirroring gateway 130 is not 15°, the mirroring gateway 130 sends a prompt message to the second gateway 112, so that the second gateway 112 re-sends the control instruction to the smart bed 124.

[0076] Preferably, this embodiment utilizes the mirrored gateway 130 to monitor the transmission of control instructions to prevent control omissions or device non-execution due to information loss during control instruction transmission. Preferably, when the mirrored gateway 130 determines that the smart bed 124 has received the correct control instructions and that the actual operating state of the smart bed 124 is inconsistent with the expected operating state, the mirrored gateway 130 determines that the smart bed 124 is operating abnormally and sends an alarm message to the first gateway 111. Based on the alarm message, the first gateway 111 sends a user notification of the abnormality of the smart bed 124, allowing the user to perform maintenance on the smart bed.

[0077] Preferably, when a user is in the living room, a smart wristband with a heart rate monitoring function worn by the user establishes a communication connection with a first gateway 111 located in the living room. The first gateway 111 obtains the user's physiological parameters through the smart wristband and smart home devices 120 located in the living room and connected to the first gateway 111, such as millimeter-wave radars and cameras, to determine the user's mood. Based on the determined mood, the first gateway 111 adjusts the operating state of each smart home device 120 in the living room or under the first gateway 111. This may include adjusting the temperature of the air conditioner, the brightness of the lights, the scent of the smart aromatherapy, etc., to change the environmental parameters of the living room environment and thereby adjust the user's mood. Preferably, when the first gateway 111 issues control instructions to each smart home device 120 in the living room to adjust the living room environmental parameters, the first gateway 111 also sends the control instructions to a second gateway 112 connected to the smart home devices 120 in the bedroom. Upon receiving the control instructions, the second gateway 112, connected to the smart home devices 120 in the bedroom, forwards the control instructions to the smart home devices 120, such as the air conditioner, humidifier, smart aromatherapy, and smart lights. In response to receiving the control command, the smart home devices 120 such as air conditioners, humidifiers, smart aromatherapy, and smart lights change their working states to adjust the environmental parameters in the bedroom so that the environmental parameters in the bedroom are consistent with the environmental parameters in the living room.

[0078] Preferably, when the first gateway 111 sends a control instruction to each smart home device 120 in the living room, the first gateway 111 also sends the control instruction to the mirroring gateway 130. In response to receiving the control instruction, the mirroring gateway 130 detects the actual operating status of the smart home device 120, such as the air conditioner, humidifier, smart aromatherapy, and smart light, that received the control instruction. It then compares the actual operating status of the smart home device 120 with the expected operating status in the control instruction to determine whether the actual operating status is consistent with the expected operating status, thereby determining whether the smart home device 120 should execute the control instruction.

[0079] Preferably, when the actual working state of the smart home device 120 is inconsistent with the expected working state, the mirroring gateway 130 generates a prompt control instruction and sends it to the first gateway 111 and / or the second gateway 112 that generates the control instruction, so that the first gateway 111 and / or the second gateway 112 resends the control instruction to the smart home device 120 whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device 120 is consistent with the expected working state, thereby avoiding missed control.

[0080] Preferably, the gateway 110 can obtain the user's physiological parameters through the first detection device connected thereto to determine the user's current mood, and adjust the operating state of each smart home device 120 according to the determined mood to change the environmental parameters of the user's environment, thereby adjusting the user's mood. Preferably, the gateway 110 can obtain the environmental parameters of the user's environment through the first detection device connected thereto.

[0081] Preferably, the user's physiological parameters may include respiratory rate, heart rate, and facial expressions. Preferably, the environmental parameters of the user's environment may include indoor temperature, indoor humidity, and indoor gas. Preferably, the first detection device may include a millimeter-wave radar, a camera, a smart bracelet worn by the user, etc. Preferably, the first detection device may include a temperature sensor, a humidity sensor, a gas sensor, etc.

[0082] Preferably, the gateway 110 can analyze the data collected by the millimeter-wave radar by using a heart rate analysis method based on millimeter-wave radar as provided in patent publication number CN114052692A to obtain the user's heart rate.

[0083] When a single environmental parameter is used to adjust a patient's mood, its impact on different physiological parameters varies. For example, when adjusting a patient's mood by changing the indoor air, the change in heart rate is significantly greater than the change in breathing rate and facial expression. Studies have found that lavender-scented air can make people feel calm, lemon-scented air can slow their heart rate, and rose-scented air can speed it up. Indoor temperature, an environmental parameter, can also influence mood. Studies have found that temperatures between 11°C and 25°C tend to make people feel comfortable and emotionally stable. As the temperature rises, people tend to feel irritable and even engage in aggressive behavior. As the temperature drops, people become depressed, feeling down, and even experiencing slowed thinking. When the indoor temperature drops, causing a user to feel cold, the facial muscles first sense the temperature change. Consequently, their stress response occurs before changes in physiological parameters like breathing rate and heart rate, causing the change in facial expression to be significantly greater than changes in breathing rate and heart rate.

[0084] Since a single environmental parameter has different degrees of influence on different physiological parameters of the user when regulating the patient's mood, when adjusting the user's mood by adjusting the various environmental parameters of the user's environment, the weights of each smart home device 120 in regulating the user's mood are different.

[0085] Preferably, the gateway 110 can use the user's mood under different environmental parameters as learning data, and then determine the influence weight of different environmental parameters on different physiological parameters of the user through machine learning or other methods.

[0086] Preferably, this embodiment quantifies the degree of influence of different environmental parameters on the physiological parameters of the same user in percentage. Furthermore, the user physiological parameters are divided, and a weighted environmental parameter combination is pre-configured in the gateway 110 for each individual physiological information. Furthermore, in the gateway 110 preset, each independent physiological parameter is mapped to one or more environmental parameters, and the strength of the mapping relationship between a single environmental parameter and the physiological information has a preset value, i.e., a weight value. Furthermore, when there are multiple environmental parameters that are mapped to a physiological parameter at the same time, the weight values of all environmental parameters are combined into one. The types of user physiological parameters can be pre-selected and set when configuring the gateway 110, for example, according to the functions that the detection device can perform, specifically, a millimeter wave radar can detect breathing and heart rate, a smart bracelet can detect heart rate and body temperature, a smart camera can detect body temperature and facial expressions, and so on. Preferably, human heart rate, body temperature, respiratory rate, etc. can all be used as preset physiological parameters; the environmental parameters mapped to each physiological parameter and the respective weight values of the latter can be pre-set. In detail, the specific weight values of the strength of the mapping relationship between each environmental parameter and the physiological parameter can be obtained based on expert opinions, clinical experiments, and theoretical knowledge. For example, the user's respiratory rate is affected by 40% of the indoor temperature, 20% of the indoor humidity, and 40% of the indoor gas; the user's heart rate is affected by 28% of the indoor temperature, 15% of the indoor humidity, and 57% of the indoor gas; the user's facial expression is affected by 72% of the indoor temperature, 11% of the indoor humidity, and 17% of the indoor gas.

[0087] Preferably, after the gateway 110 detects various physiological parameters of the user through the first detection device and determines the user's current mood through an analysis model, it can numerically quantify the various physiological parameters and mood. Preferably, the analysis model is improved using a two-dimensional convolutional neural network (2D-CNN) and a three-dimensional convolutional neural network (3D-CNN), continuously combining and fitting multiple algorithms such as multi-factor and device collection, collection equipment, environmental monitoring, group positioning, and device combination output, to achieve the presentation and application of complex psychological expressions into specific mood values.

[0088] Preferably, the analysis model can also be constructed based on the technical solution of judging emotions based on heart rate and breathing provided by the patent with publication number CN105982678B and the technical solution of analyzing mood through facial images provided by the patent with publication number CN110796020B.

[0089] Preferably, the user's mood state can be divided into a negative state, a calm state, a positive state, and an excited state, and the mood index value range is 0-100, wherein a mood index value range of 0-25 corresponds to a negative mood state; a mood index value range of 25-60 corresponds to a calm mood state; a mood index value range of 60-80 corresponds to a positive mood state; and a mood index value range of 80-100 corresponds to an excited mood state. More preferably, when the user's mood state is negative, the value range of the physiological parameter is 0-25; when the user's mood state is calm, the value range of the physiological parameter is 25-60; when the user's mood state is positive, the value range of the physiological parameter is 60-80; and when the user's mood state is excited, the value range of the physiological parameter is 80-100.

[0090] The user's mood is obtained by the gateway 110 by summarizing various physiological parameters using an analysis model, and the values of the physiological parameters are not necessarily the same as the user's mood index value.

[0091] Preferably, for a single physiological parameter of a user, when it is within a numerical range reflecting different mood states of the user, the gateway 110 is configured with adjustment modes with different preset weights to change the environment in which the user is located.

[0092] Furthermore, the system first determines the value of each physiological parameter based on the multiple physiological parameters obtained from the user, and generates a sub-adjustment mode containing adjustment methods for one or more environmental parameters with preset mappings to the physiological parameter for each physiological parameter value determination result, and synthesizes at least one overall adjustment mode based on several sub-adjustment modes generated for different physiological parameters, wherein, when synthesizing the overall adjustment mode, similar environmental parameters in each sub-adjustment mode are calculated in a non-direct accumulation manner when comprehensively adjusting the weights. The aforementioned similar environmental parameters can be the same type of environmental parameters, such as all environmental temperature parameters, or they can be preset related parameters that can be classified into the same type, such as the environmental temperature parameter and the temperature parameter of the person's location can be considered as similar parameters. When forming a sub-adjustment mode, the adjustment amount of each environmental parameter in the sub-adjustment mode is determined according to the preset mapping weight values of different environmental parameters. For example, the user's body surface temperature is in a preset mapping relationship with the ambient temperature, ambient humidity and ambient excitation factor content, and their respective weights are 45%, 35% and 20% respectively. Then, when it is detected that the user's body surface temperature is lower than the preset normal value, for example, in the formed sub-adjustment mode, the adjustment amplitude for the ambient temperature is greater than the other two, for example, the ambient temperature rises by 3 degrees, an increase of 50%, the ambient humidity decreases by 5%, and the ambient excitation factor content increases by 15%. Among them, the adjustment amplitude of each environmental parameter is related to the effect of the environmental parameter on the physiological parameter and its weight value, which can be preset or predicted. When forming a total adjustment mode, similar environmental parameters are calculated in a non-cumulative manner, thereby acting on the influence on the environmental adjustment value. Preferably, the correction amount of similar environmental parameters in the calculation of the total adjustment mode is obtained by calculating representative weights. The representative weight is a parameter value. Preferably, statistics are used to calculate all similar environmental parameters and their respective weight values in each sub-adjustment mode in the overall adjustment mode, and the largest weight value is taken as the representative weight; in one embodiment, the average value is taken as the representative weight. In one embodiment, the representative weight has a continuous calculation rule. First, the number of similar environmental parameters is counted, and a quantity correction value is assigned to each quantity interval. Then, the weight value interval of each similar environmental parameter is counted. When all are in the low interval (for example, 0-40% is set as the low interval), the interval correction value is k1. When all are in the middle interval (for example, 40%-70%), the interval correction value is k2. When all are in the high interval (for example, 70%-100%), the interval correction value is k3. When there are more than two intervals with weight values, the interval correction value is calculated according to the proportion. The final representative weight is obtained by mixing the quantity correction value, the interval correction value and the selected weight maximum value or the weight average.The above method takes into account that there are many reasons for the physiological parameters displayed by users in the environment. The same or the same type of environmental adjustment can affect the user's multiple feelings or physiological states. Conventional smart homes, at the primary level, require active control by the user to take action. At a slightly more advanced level, they can only simply control the action of a single device based on a physiological characteristic of the user, such as raising the air conditioner temperature when the user's body surface temperature is low. However, they do not consider how to comprehensively set an overall control plan for the user's multiple physiological states, resulting in multiple adjustments of the device, chaotic actions, and the inability to achieve a harmonious environment. The present application can take multiple factors into consideration and can quickly build the best harmonious environment that suits the user's current state with the shortest adjustment.

[0093] For example, when the gateway 110 uses the analysis model to determine that the user's mood index is 90, indicating an excited state, the user's heart rate parameter is 75, indicating a positive state, the breathing rate parameter is 40, indicating a calm state, and the facial expression parameter is 70, indicating a positive state. Preferably, the gateway 110 determines based on preset conditions that the user should be in an excited state, but the user should not be excited and should be as calm as possible, the gateway 110 adjusts the user's environmental parameters through the smart home device 120 to help the user move from an excited state to a calm state.

[0094] Preferably, the gateway 110 can set a first sub-adjustment mode for the user's heart rate, a second sub-adjustment mode for the user's breathing rate, and a third sub-adjustment mode for the user's facial expression according to preset weight settings.

[0095] Preferably, the weight proportions of the first sub-adjustment mode may be 10% of the indoor temperature, 5% of the indoor humidity, and 85% of the indoor gas.

[0096] Preferably, the weight proportions of the second sub-adjustment mode may be 40% of the indoor temperature, 20% of the indoor humidity, and 40% of the indoor gas.

[0097] Preferably, the weight proportions of the third sub-adjustment mode may be 75% of the indoor temperature, 10% of the indoor humidity, and 15% of the indoor gas.

[0098] Preferably, the gateway 110 combines the sub-adjustment modes to form an overall adjustment mode. Preferably, when the gateway 110 combines the sub-adjustment modes to form an overall adjustment mode, it can allocate coefficients based on the differences between the user's physiological parameters and the user's target mood index, and then multiply the weights of the sub-adjustment modes by the coefficients and then sum them.

[0099] Preferably, the sum of the coefficients allocated by the gateway 110 to each sub-adjustment mode is 1, wherein the value of the coefficient is between -1 and 1, inclusive.

[0100] Preferably, the gateway 110 assigns a coefficient of 0.51 to the first sub-adjustment mode, a coefficient of 0 to the second sub-adjustment mode, and a coefficient of 0.49 to the third sub-adjustment mode. Therefore, in the overall adjustment mode, the weight of indoor temperature accounts for 41.85%, the weight of indoor humidity accounts for 7.45%, and the weight of indoor gas accounts for 50.7%.

[0101] Furthermore, this embodiment can also improve the weight configuration to the link of verifying the user's true mood according to the weight ratio of the influence of different environmental parameters on the user's physiological parameters, and match the verification mode according to the verification target (multiple physiological parameters), that is, apply the above method in generating the verification adjustment mode. The adjustment amplitude of the verification adjustment mode is lower than the above-mentioned total adjustment mode. It is a small adjustment amount given an expected direction adjustment, which is used to verify whether the user's physiological parameters evolve towards the expected physiological parameters under the verification mode. Each mode configures specific adjustment environmental parameters according to the weight, and then based on observing the user's reaction in the verification environment, combined with the preset weights, reversely calculates the user's true mood, thereby achieving the effect of one adjustment to verify the user's multiple true moods.

[0102] Example 2

[0103] This embodiment is a further improvement of Example 1, and repeated content will not be repeated. This embodiment provides a smart home gateway coordination method. The smart home gateway coordination method adopts the smart home gateway coordination system 100 provided in Example 1, and the smart home gateway coordination method at least includes:

[0104] At least two gateways 110 and a mirror gateway 130 are provided, wherein each gateway 110 is connected to a plurality of smart home devices 120;

[0105] The gateway 110 generates a control instruction based on the desired working state of the smart home device 120 and sends it to the smart home device 120 and the mirroring gateway 130;

[0106] In response to receiving the control instruction, the smart home device 120 adjusts the working state according to the control instruction and reports the actual working state after the adjustment to the gateway 110 and the mirroring gateway 130;

[0107] In response to receiving the control instruction, the mirroring gateway 130 compares the actual working state detected and / or reported by the smart home device 120 with the expected working state in the control instruction to determine whether the actual working state is consistent with the expected working state.

[0108] Preferably, the smart home gateway coordination method further includes:

[0109] When the mirroring gateway 130 confirms that the actual working state of the smart home device 120 is inconsistent with the expected working state,

[0110] The mirror gateway 130 generates a prompt control instruction and sends it to the gateway 110 that generates the control instruction;

[0111] In response to receipt of the prompt control instruction, the gateway 110 resends the control instruction to the smart home device 120 whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device 120 is consistent with the expected working state.

[0112] Preferably, the gateway 110 includes a first gateway 111 connected to a portion of the smart home devices 120 in the smart home system, and a second gateway 112 connected to another portion of the smart home devices 120 in the smart home system.

[0113] Preferably, each gateway 110 is connected to smart home devices 120 belonging to the same extension type; or, each gateway 110 is connected to smart home devices 120 belonging to the same area.

[0114] Preferably, the first gateway 111 generates a control instruction based on the desired operating state of the smart home device 120 and sends it to the second gateway 112 connected to the smart home device 120; the second gateway 112 forwards the control instruction to the connected smart home device 120. Preferably, both the sender and receiver of the control instruction synchronize the sending and receiving status of the control instruction to the mirroring gateway 130, thereby supervising the transmission of the control instruction and preventing information loss during the transmission process.

[0115] Preferably, the first gateway 111 and / or the second gateway 112 generates a control instruction and sends the control instruction to the mirroring gateway 130. In response to receiving the control instruction, the mirroring gateway 130 detects the actual working status of the smart home device 120 that receives the control instruction.

[0116] Preferably, the mirroring gateway 130 determines whether the smart home device 120 executes the control instruction by detecting the actual working status of the smart home device 120 that receives the control instruction.

[0117] Preferably, in response to receipt of the control instruction, the mirroring gateway 130 compares the actual working status detected and / or reported by the smart home device 120 with the expected working status in the control instruction to determine whether the actual working status is consistent with the expected working status.

[0118] When the actual working state is inconsistent with the expected working state, the mirroring gateway 130 generates a prompt control instruction and sends it to the first gateway 111 and / or the second gateway 112 that generates the control instruction.

[0119] In response to receipt of the prompt control instruction, the first gateway 111 and / or the second gateway 112 resends the control instruction to the smart home device 120 whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device 120 is consistent with the expected working state.

[0120] Preferably, if the mirroring gateway 130 determines that the actual operating state of the smart home device 120 is inconsistent with the expected operating state, the first gateway 111 and / or the second gateway 112 resends the control command to the smart home device 120 whose actual operating state is inconsistent with the expected operating state, thereby eliminating missed control and non-execution by the smart home device 120, and ensuring the normal operation of the smart home system. Preferably, if the actual operating state of the smart home device 120 remains unchanged after the first gateway 111 and / or the second gateway 112 resends the control command to the smart home device 120 whose actual operating state is inconsistent with the expected operating state, the mirroring gateway 130 determines that the smart home device 120 is abnormal and sends an alarm to the first gateway 111 and / or the second gateway 112. Based on the alarm, the first gateway 111 and / or the second gateway 112 sends information to the user indicating the abnormality of the smart home device 120.

[0121] Example 3

[0122] This embodiment is a further improvement of Embodiment 1 and Embodiment 2, and the repeated contents will not be repeated here.

[0123] See also Figure 2 Preferably, in the smart home gateway coordination system 100 of this embodiment, the mirror gateway 130 is only connected to the gateway 110, which reduces the requirements for the communication connection capability of the mirror gateway 130, thereby reducing the deployment cost of the smart home system.

[0124] The mirroring gateway 130 is not directly connected to the smart home device 120. When the smart home device 120 is connected to the smart home system, the gateway 110 connected to the smart home device 120 transmits its configuration information to the mirroring gateway 130, so that the mirroring gateway 130 contains a configuration list of the smart home system, wherein the configuration information of the smart home device 120 at least includes the device model, hardware composition, etc.

[0125] Preferably, during operation, the gateway 110 mirrors the control instructions and other data sent to the smart home devices 120 to the mirroring gateway 130, so that the mirroring gateway 130 has data backups of all smart home systems.

[0126] Preferably, when the gateway 110 is in normal operation, the product lists of the smart home devices 120 connected to the gateway 110 are synchronized to the mirror gateway 130. Preferably, because the gateway 110 uses both synchronous and asynchronous communication architectures when connecting to different smart home devices 120, when the amount of data reported to the gateway 110 by the smart home devices 120 is large, in order to reduce the data processing load of the gateway 110, the gateway 110 and some smart home devices 120 use a sending without feedback mechanism to issue control instructions.

[0127] Preferably, for a smart home device 120 that does not provide feedback, the mirroring gateway 130 can establish a communication connection with the smart home device 120 through another gateway 110 to obtain the execution status of its control instructions.

[0128] When the mirroring gateway 130 finds that the smart home device 120 has not executed the control instruction, the mirroring gateway 130 reports the information that the "control instruction has not been executed" to the gateway 110 that generated the control instruction. After receiving the report, the gateway 110 that generated the control instruction generates a control instruction again and sends it to the smart home device 120. The mirroring gateway 130 and other gateways 110 are used to monitor the execution of the control instruction by the smart home device 120 to ensure that the smart home device 120 executes the control instruction.

[0129] When an abnormality occurs in the gateway 110, the mirror gateway 130 will coordinate another gateway 110 (or smart home device 120) to replace the current abnormal gateway 110 and perform the functions of the gateway 110 until the abnormal gateway 110 is back online after the abnormality is resolved.

[0130] It should be noted that the above-mentioned specific embodiments are exemplary, and those skilled in the art can come up with various solutions inspired by the disclosure of the present invention, and these solutions also belong to the disclosure scope of the present invention and fall within the protection scope of the present invention. Those skilled in the art should understand that the present invention specification and its drawings are illustrative and do not constitute a limitation of the claims. The scope of protection of the present invention is defined by the claims and their equivalents. Throughout the text, the features introduced by "preferably" are only an optional method and should not be understood as being required. Therefore, the applicant reserves the right to abandon or delete the relevant preferred features at any time. The present invention specification contains multiple inventive concepts, such as "preferably", "according to a preferred embodiment" or "optionally", which means that the corresponding paragraph discloses an independent concept, and the applicant reserves the right to file a divisional application based on each inventive concept.

Claims

1. A smart home gateway coordination system, characterized in that: The smart home gateway coordination system comprises at least two gateways (110), a plurality of smart home devices (120) and a mirror gateway (130); The gateway (110) obtains environmental parameters of the user's environment and the user's physiological parameters through a first detection device connected thereto, determines the user's current mood by obtaining the user's physiological parameters, and adjusts the working state of each smart home device (120) according to the determined mood. The gateway (110) generates a sub-adjustment mode containing adjustment methods for one or more environmental parameters with preset mappings to the physiological parameters based on the value judgment result of each physiological parameter, and synthesizes at least one overall adjustment mode based on several sub-adjustment modes generated for different physiological parameters. The gateway (110) generates a control instruction based on the expected working state of the smart home device (120) and sends it to the smart home device (120) and the mirror gateway (130); In response to receipt of the control instruction, the mirroring gateway (130) detects the actual working state of the smart home device (120) to determine whether the actual working state is consistent with the expected working state; In the case where the actual working state is inconsistent with the expected working state, the mirroring gateway (130) generates a prompt control instruction sent to the gateway (110), so that the gateway (110) resends the control instruction to the smart home device (120) whose actual working state is inconsistent with the expected working state until the actual working state of the smart home device (120) is consistent with the expected working state.

2. The smart home gateway coordination system according to claim 1, characterized in that: The smart home device (120) is communicatively connected to the gateway (110) and the mirror gateway (130) respectively; In response to receipt of the control instruction, the smart home device (120) adjusts the working state according to the control instruction, and reports the actual working state after the adjustment to the gateway (110) and the mirror gateway (130).

3. The smart home gateway coordination system according to claim 1 or 2, characterized in that: The mirror gateway (130) is communicatively connected to at least two of the gateways (110), and the gateways (110) are communicatively connected to each other; Each of the gateways (110) is capable of being communicatively connected with at least one of the smart home devices (120) in the smart home system, and the mirroring gateway (130) is communicatively connected with all of the smart home devices (120) in the smart home system.

4. The smart home gateway coordination system according to claim 3, characterized in that: The gateway (110) includes a first gateway (111) connected to a portion of the smart home devices (120) in the smart home system, and a second gateway (112) connected to another portion of the smart home devices (120) in the smart home system.

5. The smart home gateway coordination system according to claim 4, characterized in that: The first gateway (111) adjusts the working state of at least one smart home device (120) connected to the second gateway (112) through at least two different adjustment methods; One adjustment method is: the first gateway (111) sends the desired working state of at least one smart home device (120) connected to the second gateway (112) to the second gateway (112); The second gateway (112) generates a control instruction based on the expected working state and sends the control instruction to the smart home device (120) connected thereto; Another adjustment method is: the first gateway (111) generates a control instruction based on the expected working state of the smart home device (120) and sends it to the second gateway (112) connected to the smart home device (120); the second gateway (112) forwards the control instruction to the smart home device (120) connected thereto.

6. The smart home gateway coordination system according to claim 5, characterized in that: The first gateway (111) and / or the second gateway (112) generates the control instruction and sends the control instruction to the mirror gateway (130), In response to receipt of the control instruction, the mirror gateway (130) detects the actual working status of the smart home device (120) that receives the control instruction.

7. The smart home gateway coordination system according to claim 6, characterized in that: In response to receipt of the control instruction, the mirroring gateway (130) compares the actual working state detected and / or reported by the smart home device (120) with the expected working state in the control instruction to determine whether the actual working state is consistent with the expected working state; When the actual working state is inconsistent with the expected working state, the mirroring gateway (130) generates a prompt control instruction and sends it to the first gateway (111) and / or the second gateway (112) that generates the control instruction; In response to receipt of the prompt control instruction, the first gateway (111) and / or the second gateway (112) resends the control instruction to the smart home device (120) whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device (120) is consistent with the expected working state.

8. The smart home gateway coordination system according to claim 1, characterized in that: Each of the gateways (110) is connected to the smart home devices (120) belonging to the same extended type; or, each of the gateways (110) is connected to the smart home devices (120) belonging to the same area.

9. A smart home gateway coordination method, characterized in that: The smart home gateway coordination method adopts the smart home gateway coordination system according to any one of claims 1 to 8, and the smart home gateway coordination method at least includes: At least two gateways (110) and a mirror gateway (130) are provided, wherein each of the gateways (110) is connected to a plurality of smart home devices (120); The gateway (110) generates a control instruction based on the expected working state of the smart home device (120) and sends the control instruction to the smart home device (120) and the mirror gateway (130); In response to receipt of the control instruction, the smart home device (120) adjusts the working state according to the control instruction, and reports the actual working state after the adjustment to the gateway (110) and the mirror gateway (130); In response to receipt of the control instruction, the mirror gateway (130) compares the actual working state detected and / or reported by the smart home device (120) with the expected working state in the control instruction to determine whether the actual working state is consistent with the expected working state.

10. The smart home gateway coordination method according to claim 9, characterized in that: The smart home gateway coordination method further includes: When the mirroring gateway (130) confirms that the actual working state of the smart home device (120) is inconsistent with the expected working state, The mirror gateway (130) generates a prompt control instruction and sends it to the gateway (110) that generates the control instruction; In response to receipt of the prompt control instruction, the gateway (110) resends the control instruction to the smart home device (120) whose actual working state is inconsistent with the expected working state, so that the actual working state of the smart home device (120) is consistent with the expected working state.

Citation Information

Patent Citations

  • A method for judging emotions based on heart rate and breathing

    CN105982678B

  • A smart home client and its multi-gateway control method

    CN110620711B

  • A method and related device for analyzing mood index

    CN110796020B

  • Distributed smart home gateway system

    CN111211950A

  • Heart rate analysis method and equipment based on millimeter wave radar

    CN114052692A