Linkage control method, device, storage medium and electronic device for intelligent devices

Through the linkage control method of smart devices, the status of smart devices is automatically adjusted, which solves the problem of users needing manual operation and improves the user experience.

CN115509142BActive Publication Date: 2025-09-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211112157.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-13
Publication Date
2025-09-12
Estimated Expiration
2042-09-13

AI Technical Summary

Technical Problem

When a smart device is working, other smart devices need to be manually turned off or on, which reduces the user experience.

Method used

By determining the state of the target smart device, binding the first smart device group, and controlling each smart device in the second smart device group to convert to the target state according to the device state, linkage control between the smart devices is achieved.

Benefits of technology

It improves the convenience and comfort of user use and solves the experience problems caused by manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509142B_ABST
    Figure CN115509142B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus, storage medium, and electronic device for the linkage control of smart devices. The method comprises: determining the device status of a target smart device; determining a first smart device group bound to the target smart device; determining a second smart device group and a target state for each smart device in the second smart device group from the first smart device group based on the device status; and controlling each smart device in the second smart device group to transition from its current state to the target state. This invention solves the technical problem of requiring manual powering on and off of other smart devices while a smart device is operating, which reduces the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a linkage control method, device, storage medium and electronic device for intelligent devices. Background Art

[0002] With the development of science and technology and the progress of society, more and more people are choosing smart homes to replace traditional homes. When users use air conditioners, if the doors and windows are open, it will affect the cooling effect of the air conditioner and waste resources. At this time, users need to manually close the doors and windows, which greatly affects the user experience. Summary of the Invention

[0003] Embodiments of the present invention provide a linkage control method, apparatus, storage medium, and electronic device for smart devices, to at least solve the technical problem that when a smart device is working, other smart devices need to be manually turned off or on, which reduces the user experience.

[0004] According to one aspect of an embodiment of the present invention, a method for linkage control of smart devices is provided, comprising: determining a device state of a target smart device; determining a first smart device group bound to the target smart device; determining a second smart device group and a target state of each smart device in the second smart device group from the first smart device group based on the device state; and controlling each smart device in the second smart device group to transition from a current state to the target state.

[0005] According to another aspect of an embodiment of the present invention, a linkage control device for smart devices is provided, including: a first determination module for determining the device status of a target smart device; a second determination module for determining a first smart device group bound to the above-mentioned target smart device; a third determination module for determining, from the above-mentioned first smart device group, a second smart device group and a target status of each smart device in the above-mentioned second smart device group based on the above-mentioned device status; and a first control module for controlling each smart device in the above-mentioned second smart device group to convert from a current status to the above-mentioned target status.

[0006] As an optional example, the above-mentioned third determination module includes: a first determination unit, used to determine the second smart device group from the above-mentioned first smart device group when the above-mentioned device status is the power-on state, wherein each smart device in the above-mentioned second smart device group is in the power-on state; a second determination unit, used to determine the above-mentioned target state as the power-off state; a first control unit, used to control each smart device in the above-mentioned second smart device group to convert from the current state to the above-mentioned target state, including: sending a first control signal to each smart device in the above-mentioned second smart device group to make each smart device in the above-mentioned second smart device group convert from the above-mentioned power-on state to the above-mentioned power-off state.

[0007] As an optional example, the above-mentioned third determination module includes: a third determination unit, used to determine the second smart device group from the above-mentioned first smart device group when the above-mentioned device state is the shutdown state; a fourth determination unit, used to determine the third smart device group from the above-mentioned second smart device group, wherein the smart devices in the above-mentioned third smart device group are smart devices in the above-mentioned second smart device group that have not changed after the state is converted to the shutdown state; a fifth determination unit, used to determine the above-mentioned target state as the on state; a second control unit, used to control each smart device in the above-mentioned second smart device group to convert from the current state to the above-mentioned target state, including: sending a second control signal to each smart device in the above-mentioned third smart device group to make each smart device in the above-mentioned third smart device group convert from the above-mentioned off state to the above-mentioned on state.

[0008] As an optional example, the fourth determination unit includes: a processing subunit, used to take each smart device in the second smart device group as the current smart device, and perform the following operations on the current smart device: determine whether the state of the current smart device changes after being converted to the shutdown state; if the state of the current smart device remains in the shutdown state and does not change again, add the current smart device to the third smart device group.

[0009] As an optional example, the above-mentioned device also includes: a fourth determination module, which is used to determine the number of smart devices in the above-mentioned second smart device group after determining the second smart device group from the above-mentioned first smart device group when the above-mentioned target smart device is a smart air conditioner and the above-mentioned second smart device group is a smart window or a smart door; a fifth determination module, which is used to determine the indoor ambient temperature, outdoor ambient temperature, and operating mode of the above-mentioned target smart device, wherein the above-mentioned operating mode is a cooling mode or a heating mode; a first calculation module, which is used to calculate the target frequency of the compressor of the above-mentioned target smart device based on the above-mentioned number, the above-mentioned indoor ambient temperature, the above-mentioned outdoor ambient temperature and the above-mentioned operating mode; and a first control module, which is used to control the above-mentioned compressor of the above-mentioned target smart device to operate at the above-mentioned target frequency.

[0010] As an optional example, the above-mentioned device also includes: a second calculation module, which is used to calculate the target speed of the external fan of the above-mentioned target smart device based on the above-mentioned quantity, the above-mentioned indoor ambient temperature, the above-mentioned outdoor ambient temperature and the above-mentioned operating mode after determining the indoor ambient temperature, outdoor ambient temperature and operating mode of the above-mentioned target smart device; and a second control module, which is used to control the above-mentioned external fan of the above-mentioned target smart device to operate at the above-mentioned target speed.

[0011] As an optional example, the above-mentioned device also includes: a third calculation module, which is used to calculate the target windshield for the operation of the above-mentioned indoor fan according to the above-mentioned quantity, the above-mentioned indoor ambient temperature, the above-mentioned outdoor ambient temperature and the above-mentioned operating mode after determining the indoor ambient temperature, the outdoor ambient temperature and the operating mode of the above-mentioned target smart device, when the windshield of the indoor fan of the above-mentioned target smart device has not been selected; a third control module, which is used to control the above-mentioned indoor fan to operate at the above-mentioned target windshield.

[0012] According to another aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the linkage control method of the smart device is executed.

[0013] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the linkage control method of the smart device through the computer program.

[0014] In an embodiment of the present invention, a method is adopted for determining the device status of a target smart device; determining a first smart device group bound to the target smart device; determining a second smart device group and a target status of each smart device in the second smart device group from the first smart device group according to the device status; and controlling each smart device in the second smart device group to convert from a current status to the target status. In the above method, when the target smart device is turned on, the smart device that is bound to the target smart device and is in an on state is controlled to convert to an off state; when the target smart device is turned off, the smart device that is bound to the target smart device and is in an off state is controlled to convert to an on state, thereby realizing linkage control between smart devices, improving the convenience and comfort of user use, and further solving the technical problem that when a smart device is working, other smart devices need to be manually turned off or on, which reduces the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0016] Figure 1 is a flow chart of an optional linkage control method for smart devices according to an embodiment of the present invention;

[0017] Figure 2 is a flowchart of an optional linkage control method for smart devices according to an embodiment of the present invention;

[0018] Figure 3 is a logic block diagram of an optional linkage control method for smart devices according to an embodiment of the present invention;

[0019] Figure 4 is a schematic structural diagram of an optional linkage control device for smart devices according to an embodiment of the present invention;

[0020] Figure 5 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] According to a first aspect of an embodiment of the present invention, a linkage control method for a smart device is provided. Optionally, as Figure 1 As shown, the above method includes:

[0024] S102, determining the device status of the target smart device;

[0025] S104, determining a first smart device group bound to the target smart device;

[0026] S106, determining a second smart device group from the first smart device group based on the device status and a target status for each smart device in the second smart device group;

[0027] S108: Control each smart device in the second smart device group to transition from a current state to a target state.

[0028] Optionally, in this embodiment, the target smart device may be a smart air conditioner, and the first smart device group may be one or more smart windows, smart doors, etc. To achieve faster cooling or heating effects when a user uses the target smart device to rapidly cool or heat the indoor environment where the smart device is located, the smart doors and smart windows in the indoor environment are pre-bound to the smart device. When the target smart device is in the on state, the smart devices in the first smart device group that are in the on state are added to the second smart device group, and the target state is set to off. Each smart device is then switched from the on state to the off state. When the target smart device is in the off state, the target state of the smart devices in the second smart device group that are in the off state is set to on, and each smart device is switched from the off state to the on state. For example, if smart door 1, smart window 1, and smart window 2 are bound to smart air conditioner 1, when the user turns on smart air conditioner 1, the smart door 1 in the open state among smart doors 1, smart windows 1, and smart windows 2 is retrieved and simultaneously closed. When the user turns off smart air conditioner 1, smart door 1 is then switched on.

[0029] By controlling the smart devices that are bound to the target smart device and are in the turned-on state to be switched to the turned-off state when the target smart device is turned on, and controlling the smart devices that are bound to the target smart device and are in the turned-off state to be switched to the turned-on state when the target smart device is turned off, linkage control between smart devices is achieved, and the convenience and comfort of user use are improved, thereby solving the technical problem that when a smart device is working, other smart devices need to be manually turned off or on, which reduces the user experience.

[0030] As an optional example, determining the target state of the second smart device group and each smart device in the second smart device group from the first smart device group according to the device state includes:

[0031] When the device state is the power-on state, determining a second smart device group from the first smart device group, wherein each smart device in the second smart device group is in the power-on state;

[0032] Determine the target state as closed;

[0033] Controlling each smart device in the second smart device group to switch from a current state to a target state includes sending a first control signal to each smart device in the second smart device group to switch each smart device in the second smart device group from an on state to an off state.

[0034] Optionally, in this embodiment, when a user turns on a target smart device, the device state of each smart device in the first smart device group is determined. If the device is in the on state, the device is added to the second smart device group, and the target state is determined to be off. A first control signal is sent to each smart device in the second smart device group, and the first control signal controls each smart device in the second smart device group to switch from the on state to the off state. To prevent errors in determining the on state due to the user quickly turning a smart device on and off, the device state of the smart device is determined after a first period of time after the target smart device is turned on. The first period of time can be 5 seconds or 6 seconds. The device state of the smart device can be determined by comparing the duration of the on state with the duration of the off state within the first period of time. If the duration of the on state within the first period of time is greater than or equal to the duration of the off state, the state of the smart device is determined to be on. If the duration of the on state within the first period of time is less than the duration of the off state, the state of the smart device is determined to be off. The above operation is performed for each smart device to obtain the state of each smart device, and all smart devices in the on state are added to the second smart device group.

[0035] As an optional example, determining the target state of the second smart device group and each smart device in the second smart device group from the first smart device group according to the device state includes:

[0036] When the device state is the shutdown state, determining a second smart device group from the first smart device group;

[0037] Determine a third smart device group from the second smart device group, wherein the smart devices in the third smart device group are the smart devices in the second smart device group whose states have not changed since being switched to the off state;

[0038] Determine the target state as the on state;

[0039] Controlling each smart device in the second smart device group to switch from a current state to a target state includes sending a second control signal to each smart device in the third smart device group to switch each smart device in the third smart device group from an off state to an on state.

[0040] Optionally, in this embodiment, after the target smart device is powered on, all smart devices that were previously powered off can be manually powered on again by the user. If manually powered on again, they are no longer controlled by the target smart device, but can be controlled by the target smart device again through user settings. When the target smart device is powered off, smart devices in the second smart device group that have not been manually powered on by the user are identified and assigned to a third smart device group. A second control signal is sent to each smart device in the third smart device group, and each smart device in the third smart device group is controlled by the second control signal to switch from an on state to an off state.

[0041] Optionally, in this embodiment, before controlling each smart device in the third smart device group to switch from the on state to the off state, the surrounding weather at the current time, or the outdoor ambient temperature, can also be obtained, and whether to turn on the smart device can be selected based on the Sunday weather and the outdoor ambient temperature. For example, in thunderstorms or when the outdoor ambient temperature is too low, each smart device remains in the off state.

[0042] As an optional example, determining the third smart device group from the second smart device group includes:

[0043] Set each smart device in the second smart device group as the current smart device and perform the following operations on the current smart device:

[0044] Determine whether the state of the current smart device changes after being switched to the off state;

[0045] When the state of the current smart device remains in the off state and does not change, the current smart device is added to the third smart device group.

[0046] Optionally, in this embodiment, when determining the third smart device group from the second smart device group, it is determined whether the state of each smart device in the second smart device group has been manually changed by the user after being converted to the off state by the first control signal. If not, it is added to the third smart device group. If so, it is no longer controlled by the target smart device and needs to be added to the third smart device group through manual settings by the user.

[0047] As an optional example, when the target smart device is a smart air conditioner and the second smart device group is a smart window or a smart door, after determining the second smart device group from the first smart device group, the method further includes:

[0048] determining the number of smart devices in the second smart device group;

[0049] Determine the indoor ambient temperature, outdoor ambient temperature, and operating mode of the target smart device, where the operating mode is cooling mode or heating mode;

[0050] Calculate the target frequency of the compressor of the target smart device based on the quantity, indoor ambient temperature, outdoor ambient temperature and operation mode;

[0051] The compressor of the target smart device is controlled to operate at the target frequency.

[0052] Optionally, in this embodiment, after the smart air conditioner is turned on, the number of smart devices in the second smart device group, the indoor ambient temperature of the target smart device, the outdoor ambient temperature, and the operating mode of the target smart device are determined, and the most suitable target frequency of the compressor is calculated based on the above data, wherein the most suitable calculation method can be determined through experimental testing.

[0053] As an optional example, after determining the indoor ambient temperature, outdoor ambient temperature, and operating mode of the target smart device, the method further includes:

[0054] Calculate the target speed of the outdoor fan of the target smart device based on the quantity, indoor ambient temperature, outdoor ambient temperature, and operating mode;

[0055] Control the external fan of the target intelligent device to run at the target speed.

[0056] Optionally, in this embodiment, optionally, in this embodiment, after the target smart device is turned on, the number of smart devices in the second smart device group, the indoor ambient temperature of the target smart device, the outdoor ambient temperature, and the operating mode of the target smart device are determined, and the most suitable target speed of the external fan is calculated based on the above data, wherein the most suitable calculation method can be determined through experimental testing.

[0057] As an optional example, after determining the indoor ambient temperature, outdoor ambient temperature, and operating mode of the target smart device, the method further includes:

[0058] When the wind speed of the internal fan of the target smart device has not been selected, the target wind speed of the internal fan is calculated based on the quantity, indoor ambient temperature, outdoor ambient temperature and operation mode;

[0059] Control the internal fan to run at the target wind speed.

[0060] Optionally, in this embodiment, optionally, in this embodiment, optionally, in this embodiment, after the target smart device is turned on, the number of smart devices in the second smart device group, the indoor ambient temperature of the target smart device, the outdoor ambient temperature, and the operating mode of the target smart device are determined, and the most suitable target windshield of the internal fan is calculated based on the above data, wherein the most suitable calculation method can be determined through experimental testing.

[0061] This application relates to a method for controlling the linkage between air conditioners and smart doors and windows. Figure 2 、 3 As shown, when the air conditioner starts, it sends a power-on signal to the linked smart doors and windows. Upon receiving the power-on signal, the linked smart doors and windows automatically close. Smart doors and windows have control modes that receive and send specific signals and control the opening and closing of doors and windows. Smart doors and windows linked to the air conditioner are only controlled by the power-on signal when the air conditioner is on. After the air conditioner starts, if the user changes the open or closed state of one or more smart doors or windows through other means, these smart doors or windows will no longer be affected by the air conditioner's operation. The user can restore linked control with the air conditioner by resetting the settings.

[0062] Optionally, in this embodiment, the reason why the smart doors and windows return to their original state after the air conditioner is turned off is to respect the user's living habits. If the doors and windows were open before the air conditioner was turned on, they will remain open after the air conditioner is turned off. If the doors and windows were closed before the air conditioner was turned on during a thunderstorm, they will remain closed after the air conditioner is turned off.

[0063] Optionally, in this embodiment, the user can configure whether the air conditioner is linked to the smart doors and windows at any time, and can configure some or all smart doors and windows to be linked to the air conditioner. If the user sets linkage control, only the smart doors and windows linked to the air conditioner will be controlled by the air conditioner's power on and off signals; during this process, the user can freely change the open and close status of the smart doors and windows at any time through other means. If the user sets linkage control not to be configured, the smart doors or windows will not be controlled by the air conditioner's power on and off signals.

[0064] 1. Conditions for entering the "smart home joint adjustment mode":

[0065] Smart doors and windows linked to the air conditioner transmit their open and closed status to the air conditioner in real time. The air conditioner receives this status in real time during operation and keeps track of it. When a smart door or window remains open for time t1, the air conditioner considers it open. When a smart door or window remains closed for time t2, the air conditioner considers it closed. The air conditioner counts the number of open smart doors and windows in real time. If at least one smart door or window is open, the air conditioner enters "Smart Home Linkage Adjustment Mode."

[0066] Note: The reason for setting the maintenance time t1 and t2 is that users often open doors and windows quickly at home. If users quickly open the doors and windows and then close them again within a short time, it will not affect the indoor ambient temperature. In this case, for air conditioning control, it can be considered that the smart doors and windows are always closed.

[0067] 2. Conditions for exiting the "Smart Home Joint Adjustment Mode":

[0068] When the air conditioner is executing the "smart home joint adjustment mode", if it is determined that the number of smart doors and windows in the open state is 0, that is, all the smart doors and windows linked to the air conditioner are in the closed state, the "smart home joint adjustment mode" will be exited.

[0069] 3. Control logic of “smart home joint adjustment mode”:

[0070] a. Compressor frequency control method: After entering the "Smart Home Joint Adjustment Mode", the compressor frequency is increased by △F based on the current frequency. Note: The increased frequency cannot be higher than the maximum allowable frequency of the compressor.

[0071] The calculation formula for △F is: △F=F1+n*F2.

[0072] Among them, F1 is a constant that can be an integer or a decimal, with no specific range of values. The value of F1 is related to the temperature difference △T. Table 1 shows the calculation method of the temperature difference △T. The inner circle of T in Table 1 is the indoor ambient temperature, and T is set to the temperature set by the user. Table 2 shows examples of F1 values. Different models can have different F1 values ​​and different temperature difference △T segments. For the same model, the optimal F1 can be obtained based on experimental testing, or the optimal value of the change can be obtained based on an intelligent algorithm combined with more environmental parameters (such as indoor space size, number of indoor occupants, outdoor ambient temperature, humidity, weather, etc.).

[0073] n is the number of smart doors and windows in the open state. n is an integer and its value range is: n≥0.

[0074] F2 is a constant that can be either an integer or a decimal. Its value is independent of the temperature difference ΔT. Different models may have different F2 values. For the same model, the optimal F2 value can be determined through experimental testing or by intelligent algorithms such as AI that combine additional environmental parameters (such as indoor space size, number of occupants, outdoor temperature, humidity, and weather). The F2 value range is: F2 ≥ 0.

[0075] Table 1 Calculation method of temperature difference △T

[0076] Air conditioning operation mode Temperature difference △T Cooling mode <![CDATA[△T=T 内环 –T 设定 ]]> Heating mode <![CDATA[△T=T 设定 –T 内环 ]]>

[0077] Table 2 Examples of constant F1 values

[0078]

[0079] b. External fan control method: After entering "Smart Home Joint Adjustment Mode," if the external fan is speed-controlled, the external fan will increase the ΔS value based on the current speed; if the external fan is gear-controlled, the external fan will increase the M value based on the current gear. Note: The increased speed or gear cannot exceed the maximum allowable speed or gear of the external fan.

[0080] The calculation formula for △S is: △S=S1+n*S2.

[0081] S1 and S2 are constant integers. The values ​​of S1 and S2 may vary for different models. For the same model, optimal values ​​can be determined through experimental testing or by intelligent algorithms that combine additional environmental parameters (such as indoor space size, number of occupants, outdoor temperature, humidity, and weather). The range of S1 and S2 is: S1 ≥ 0; S2 ≥ 0.

[0082] n is the number of smart doors and windows in the open state, n is an integer, and the value range is n≥0.

[0083] The value of M is related to the number n of open smart doors and windows. Table 3 provides examples of M values. The value of M can vary for different models. For the same model, the optimal value can be determined through experimental testing or by intelligent algorithms incorporating additional environmental parameters (such as indoor space size, number of occupants, outdoor temperature, humidity, and weather). M is an integer with a range of M ≥ 0. When n ≥ 4, the outdoor fan operates directly at its highest setting.

[0084] Table 3 Example of M values

[0085]

[0086] c. Control method of internal fan:

[0087] If the user sets a specific wind speed other than the automatic wind speed, the internal fan speed or gear will remain unchanged based on the user setting. Note: The automatic wind speed in this invention does not constitute a specific wind speed. Specific wind speeds include quiet, gentle, low, medium-low, medium, medium-high, high, and powerful.

[0088] If the user selects automatic fan speed and enters "Smart Home Joint Adjustment Mode," the interior fan is controlled similarly to the exterior fan: if the interior fan is speed-controlled, the fan increases ΔP based on the current speed; if the interior fan is gear-controlled, the fan increases Q based on the current gear. Note: The increased speed or gear cannot exceed the maximum allowable speed or gear of the interior fan.

[0089] The calculation formula for △P is: △P=P1+n*P2.

[0090] P1 and P2 are constant integers. The values ​​of P1 and P2 may vary for different models. For the same model, optimal values ​​can be determined through experimental testing or by intelligent algorithms that combine additional environmental parameters (such as indoor space size, number of occupants, outdoor temperature, humidity, and weather). The values ​​of P1 and P2 are in the range of P1 ≥ 0; P2 ≥ 0.

[0091] n is the number of smart doors and windows in the open state, n is an integer, and the value range is n≥0.

[0092] The value of Q is related to the number of open smart doors and windows, n. Table 4 provides examples of Q values. Different models may have different Q values. For the same model, the optimal value can be determined through experimental testing or by intelligent algorithms such as AI, which can combine additional environmental parameters (such as indoor space size, number of occupants, outdoor temperature, humidity, and weather). Q is an integer with a range of Q ≥ 0. When n ≥ 4, the interior fan operates directly at its highest setting.

[0093] Table 4 Example of Q values

[0094]

[0095] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0096] According to another aspect of the embodiment of the present application, a linkage control device for smart devices is also provided. Figure 4 Shown, including:

[0097] A first determining module 402 is configured to determine a device status of a target smart device;

[0098] A second determining module 404 is configured to determine a first smart device group bound to the target smart device;

[0099] a third determining module 406 for determining, from the first smart device group, a second smart device group and a target state of each smart device in the second smart device group based on the device state;

[0100] The first control module 408 is configured to control each smart device in the second smart device group to transition from a current state to the target state.

[0101] Optionally, in this embodiment, the target smart device may be a smart air conditioner, and the first smart device group may be one or more smart windows, smart doors, etc. To achieve faster cooling or heating effects when a user uses the target smart device to rapidly cool or heat the indoor environment where the smart device is located, the smart doors and smart windows in the indoor environment are pre-bound to the smart device. When the target smart device is in the on state, the smart devices in the first smart device group that are in the on state are added to the second smart device group, and the target state is set to off. Each smart device is then switched from the on state to the off state. When the target smart device is in the off state, the target state of the smart devices in the second smart device group that are in the off state is set to on, and each smart device is switched from the off state to the on state. For example, if smart door 1, smart window 1, and smart window 2 are bound to smart air conditioner 1, when the user turns on smart air conditioner 1, the smart door 1 in the open state among smart doors 1, smart windows 1, and smart windows 2 is retrieved and simultaneously closed. When the user turns off smart air conditioner 1, smart door 1 is then switched on.

[0102] By controlling the smart devices that are bound to the target smart device and are in the turned-on state to be switched to the turned-off state when the target smart device is turned on, and controlling the smart devices that are bound to the target smart device and are in the turned-off state to be switched to the turned-on state when the target smart device is turned off, linkage control between smart devices is achieved, and the convenience and comfort of user use are improved, thereby solving the technical problem that when a smart device is working, other smart devices need to be manually turned off or on, which reduces the user experience.

[0103] As an optional example, the third determining module includes:

[0104] a first determining unit, configured to, when the device state is in the power-on state, determine a second smart device group from the first smart device group, wherein each smart device in the second smart device group is in the power-on state;

[0105] a second determining unit, configured to determine the target state as a closed state;

[0106] The first control unit is configured to control each smart device in the second smart device group to transition from a current state to the target state, including:

[0107] A first control signal is sent to each smart device in the second smart device group, so that each smart device in the second smart device group switches from the on state to the off state.

[0108] Optionally, in this embodiment, when a user turns on a target smart device, the device state of each smart device in the first smart device group is determined. If the device is in the on state, the device is added to the second smart device group, and the target state is determined to be off. A first control signal is sent to each smart device in the second smart device group, and the first control signal controls each smart device in the second smart device group to switch from the on state to the off state. To prevent errors in determining the on state due to the user quickly turning a smart device on and off, the device state of the smart device is determined after a first period of time after the target smart device is turned on. The first period of time can be 5 seconds or 6 seconds. The device state of the smart device can be determined by comparing the duration of the on state with the duration of the off state within the first period of time. If the duration of the on state within the first period of time is greater than or equal to the duration of the off state, the state of the smart device is determined to be on. If the duration of the on state within the first period of time is less than the duration of the off state, the state of the smart device is determined to be off. The above operation is performed for each smart device to obtain the state of each smart device, and all smart devices in the on state are added to the second smart device group.

[0109] As an optional example, the third determining module includes:

[0110] a third determining unit, configured to determine a second smart device group from the first smart device group when the device is in a shutdown state;

[0111] a fourth determining unit, configured to determine a third smart device group from the second smart device group, wherein the smart devices in the third smart device group are the smart devices in the second smart device group whose states have not changed since being converted to the closed state;

[0112] a fifth determining unit, configured to determine the target state as an on state;

[0113] The second control unit is configured to control each smart device in the second smart device group to transition from a current state to the target state, including:

[0114] A second control signal is sent to each smart device in the third smart device group, so that each smart device in the third smart device group switches from the closed state to the open state.

[0115] Optionally, in this embodiment, after the target smart device is powered on, all smart devices that were previously powered off can be manually powered on again by the user. If manually powered on again, they are no longer controlled by the target smart device, but can be controlled by the target smart device again through user settings. When the target smart device is powered off, smart devices in the second smart device group that have not been manually powered on by the user are identified and assigned to a third smart device group. A second control signal is sent to each smart device in the third smart device group, and each smart device in the third smart device group is controlled by the second control signal to switch from an on state to an off state.

[0116] Optionally, in this embodiment, before controlling each smart device in the third smart device group to switch from the on state to the off state, the surrounding weather at the current time, or the outdoor ambient temperature, can also be obtained, and whether to turn on the smart device can be selected based on the Sunday weather and the outdoor ambient temperature. For example, in thunderstorms or when the outdoor ambient temperature is too low, each smart device remains in the off state.

[0117] As an optional example, the fourth determining unit includes:

[0118] The processing subunit is configured to use each smart device in the second smart device group as a current smart device and perform the following operations on the current smart device:

[0119] Determine whether the state of the current smart device changes after being switched to the off state;

[0120] When the state of the current smart device remains in the off state and does not change, the current smart device is added to the third smart device group.

[0121] Optionally, in this embodiment, when determining the third smart device group from the second smart device group, it is determined whether the state of each smart device in the second smart device group has been manually changed by the user after being converted to the off state by the first control signal. If not, it is added to the third smart device group. If so, it is no longer controlled by the target smart device and needs to be added to the third smart device group through manual settings by the user.

[0122] As an optional example, the above device further includes:

[0123] a fourth determining module, configured to, when the target smart device is a smart air conditioner and the second smart device group is a smart window or a smart door, determine the number of smart devices in the second smart device group after determining the second smart device group from the first smart device group;

[0124] a fifth determination module, configured to determine an indoor ambient temperature, an outdoor ambient temperature, and an operating mode of the target smart device, wherein the operating mode is a cooling mode or a heating mode;

[0125] A first calculation module is used to calculate a target frequency of operation of a compressor of a target smart device according to the quantity, indoor ambient temperature, outdoor ambient temperature, and operation mode;

[0126] The first control module is configured to control a compressor of a target smart device to operate at a target frequency.

[0127] Optionally, in this embodiment, after the smart air conditioner is turned on, the number of smart devices in the second smart device group, the indoor ambient temperature of the target smart device, the outdoor ambient temperature, and the operating mode of the target smart device are determined, and the most suitable target frequency of the compressor is calculated based on the above data, wherein the most suitable calculation method can be determined through experimental testing.

[0128] As an optional example, the above device further includes:

[0129] The second calculation module is used to calculate the target speed of the outdoor fan of the target smart device according to the number, indoor ambient temperature, outdoor ambient temperature and operating mode after determining the indoor ambient temperature and outdoor ambient temperature of the target smart device and the operating mode of the target smart device;

[0130] The second control module is used to control the external fan of the target smart device to run at a target speed.

[0131] Optionally, in this embodiment, optionally, in this embodiment, after the target smart device is turned on, the number of smart devices in the second smart device group, the indoor ambient temperature of the target smart device, the outdoor ambient temperature, and the operating mode of the target smart device are determined, and the most suitable target speed of the external fan is calculated based on the above data, wherein the most suitable calculation method can be determined through experimental testing.

[0132] As an optional example, the above device further includes:

[0133] A third calculation module is configured to, after determining the indoor ambient temperature, outdoor ambient temperature, and operating mode of the target smart device, calculate a target windshield for the indoor fan of the target smart device based on the number, indoor ambient temperature, outdoor ambient temperature, and operating mode, if the windshield of the indoor fan of the target smart device has not been selected;

[0134] The third control module is used to control the internal fan to operate at a target wind speed.

[0135] Optionally, in this embodiment, optionally, in this embodiment, optionally, in this embodiment, after the target smart device is turned on, the number of smart devices in the second smart device group, the indoor ambient temperature of the target smart device, the outdoor ambient temperature, and the operating mode of the target smart device are determined, and the most suitable target windshield of the internal fan is calculated based on the above data, wherein the most suitable calculation method can be determined through experimental testing.

[0136] For other examples of this embodiment, please refer to the above examples and will not be repeated here.

[0137] Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 5 As shown, it includes a processor 502, a communication interface 504, a memory 506 and a communication bus 508, wherein the processor 502, the communication interface 504 and the memory 506 communicate with each other through the communication bus 508, wherein,

[0138] Memory 506, for storing computer programs;

[0139] The processor 502 is configured to execute the computer program stored in the memory 506 to implement the following steps:

[0140] Determine the device status of the target smart device;

[0141] Determining a first smart device group bound to the target smart device;

[0142] determining, from the first smart device group, a second smart device group and a target state for each smart device in the second smart device group based on the device state;

[0143] Each smart device in the second smart device group is controlled to transition from a current state to a target state.

[0144] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The use of only one thick line in the figure does not mean that there is only one bus or only one type of bus. The communication interface is used for communication between the above electronic devices and other devices.

[0145] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the aforementioned processor.

[0146] As an example, the memory 506 may include, but is not limited to, the first determination module 402, the second determination module 404, the third determination module 406, and the first control module 408 in the linkage control device of the smart device. In addition, it may also include, but is not limited to, other module units in the request processing device, which will not be repeated in this example.

[0147] The above-mentioned processor can be a general-purpose processor, including but not limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0148] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0149] It can be understood by those skilled in the art that Figure 5The structure shown is for illustration only. The device for implementing the linkage control method of the above-mentioned smart device may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD and other terminal devices. Figure 5 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 5 Different configurations shown.

[0150] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.

[0151] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps in the linkage control method of the smart device are executed.

[0152] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0153] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0154] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes a number of instructions for causing one or more computer devices (such as personal computers, servers, or network devices) to execute all or part of the steps of the methods described in various embodiments of the present invention.

[0155] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0156] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.

[0157] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0158] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0159] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A linkage control method for intelligent devices, characterized in that: include: Determine the device status of the target smart device; Determining a first smart device group bound to the target smart device; determining, from the first smart device group, a target state for each smart device in the second smart device group and the second smart device group based on the device state; Controlling each smart device in the second smart device group to transition from a current state to the target state; When the target smart device is a smart air conditioner and the second smart device group is a smart window or a smart door, after determining the second smart device group from the first smart device group, the method further includes: determining the number of smart devices in the second smart device group; determining the indoor ambient temperature, outdoor ambient temperature, and operating mode of the target smart device, wherein the operating mode is a cooling mode or a heating mode; calculating a target operating frequency of a compressor of the target smart device based on the number, the indoor ambient temperature, the outdoor ambient temperature, and the operating mode; and controlling the compressor of the target smart device to operate at the target frequency. When determining the target frequency, the frequency increase based on the current frequency is calculated according to the following formula: △F=F1+n*F2 ΔF is the frequency increase amount, F1 is a constant determined according to the temperature difference between the indoor ambient temperature and the set temperature and the model of the target smart device, n is the number of the smart devices, and F2 is a constant determined according to the model of the target smart device.

2. The method according to claim 1, characterized in that Determining the target state of each smart device in the second smart device group and the second smart device group from the first smart device group according to the device state includes: When the device state is the power-on state, determining a second smart device group from the first smart device group, wherein each smart device in the second smart device group is in the power-on state; determining the target state as a closed state; Controlling each smart device in the second smart device group to switch from a current state to the target state includes: sending a first control signal to each smart device in the second smart device group to switch each smart device in the second smart device group from the on state to the off state.

3. The method according to claim 1, characterized in that Determining the target state of each smart device in the second smart device group and the second smart device group from the first smart device group according to the device state includes: When the device state is the shutdown state, determining a second smart device group from the first smart device group; Determining a third smart device group from the second smart device group, wherein the smart devices in the third smart device group are the smart devices in the second smart device group whose states have not changed since being switched to the off state; determining the target state as an on state; Controlling each smart device in the second smart device group to switch from a current state to the target state includes: sending a second control signal to each smart device in the third smart device group to switch each smart device in the third smart device group from the off state to the on state.

4. The method according to claim 3, characterized in that The determining of a third smart device group from the second smart device group includes: Each smart device in the second smart device group is used as a current smart device, and the following operations are performed on the current smart device: Determining whether the state of the current smart device changes after being converted to the closed state; When the state of the current smart device remains in the closed state and does not change, the current smart device is added to the third smart device group.

5. The method according to claim 1, wherein After determining the indoor ambient temperature and outdoor ambient temperature of the target smart device, and the operating mode of the target smart device, the method further includes: Calculating a target speed of the outdoor fan of the target smart device based on the quantity, the indoor ambient temperature, the outdoor ambient temperature, and the operating mode; The external fan of the target smart device is controlled to operate at the target speed.

6. The method according to claim 1, characterized in that After determining the indoor ambient temperature and outdoor ambient temperature of the target smart device, and the operating mode of the target smart device, the method further includes: When the windshield of the internal fan of the target smart device has not been selected, calculating a target windshield for the operation of the internal fan according to the quantity, the indoor ambient temperature, the outdoor ambient temperature, and the operation mode; The interior fan is controlled to operate at the target wind speed.

7. A linkage control device for intelligent devices, characterized in that: include: A first determining module is used to determine the device status of the target smart device; A second determining module is configured to determine a first smart device group bound to the target smart device; a third determining module, configured to determine, from the first smart device group, a second smart device group and a target state of each smart device in the second smart device group based on the device state; a first control module, configured to control each smart device in the second smart device group to transition from a current state to the target state; When the target smart device is a smart air conditioner and the second smart device group is a smart window or a smart door, after determining the second smart device group from the first smart device group, the method further includes: determining the number of smart devices in the second smart device group; determining the indoor ambient temperature, outdoor ambient temperature, and operating mode of the target smart device, wherein the operating mode is a cooling mode or a heating mode; calculating a target frequency for the compressor of the target smart device based on the number, the indoor ambient temperature, the outdoor ambient temperature, and the operating mode; and controlling the compressor of the target smart device to operate at the target frequency. When determining the target frequency, the frequency increase based on the current frequency is calculated according to the following formula: △F=F1+n*F2 ΔF is the frequency increase amount, F1 is a constant determined according to the temperature difference between the indoor ambient temperature and the set temperature and the model of the target smart device, n is the number of the smart devices, and F2 is a constant determined according to the model of the target smart device.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is executed.

9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.

Citation Information

Patent Citations

  • Household appliance control method, device and system

    CN114035441A

  • Intelligent window opening and closing state adjusting method and device

    CN115012758A