Household equipment control method and device, equipment, medium and program product
By obtaining alarm time parameters and linkage configuration parameters from the alarm clock settings interface, home appliances can be automatically controlled, solving the problem of redundant operation and achieving more efficient device control and a better user experience.
Patent Information
- Application Number
- CN202511870054.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-10
- Publication Date
- 2026-02-17
AI Technical Summary
In existing technologies, users need to set trigger time parameters separately on the alarm clock app and the home device app, which leads to redundant operations and long processing times.
By obtaining alarm time parameters and linkage configuration parameters, including time offset parameters and motion parameters, from the alarm clock settings interface, the system can automatically control target home devices without requiring separate configuration in the home application's settings interface.
It reduces the amount of user operation and improves the accuracy of setting trigger times for home devices and enhances the user experience.
Smart Images

Figure CN121541501A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic equipment technology, and in particular to a control method, device, equipment, medium, and program product for home appliances. Background Technology
[0002] With the popularization of smart home device technology, home appliances such as chandeliers, curtains, whole-house ventilation systems, and audio systems are gradually becoming networked. Users can remotely control home appliances through electronic devices.
[0003] In related technologies, users can set alarm trigger time parameters on an alarm clock application on an electronic device. Users can also set trigger time parameters corresponding to a target scenario on a home appliance application on the electronic device, so that the electronic device runs the home appliance application and controls home appliances according to the trigger time parameters.
[0004] However, the methods of setting alarm clock applications and home device applications separately in related technologies have operational redundancy, resulting in long operation times. Summary of the Invention
[0005] This application provides a method, apparatus, device, medium, and program product for controlling home appliances, which can reduce the amount of operation and thus reduce operation time.
[0006] In a first aspect, embodiments of this application provide a method for controlling home appliances, including:
[0007] In response to the user's time setting operation on the alarm clock settings interface, obtain the alarm clock time parameters; where the alarm clock settings interface is the settings interface of the alarm clock application.
[0008] In response to the user's home device settings operation on the alarm clock settings interface, the target home device identifier and the corresponding linkage configuration parameters are determined; among them, the linkage configuration parameters include time offset parameters and action parameters;
[0009] Based on the alarm clock time parameters, time offset parameters, and motion parameters, control the home device corresponding to the target home device identifier.
[0010] In one implementation, based on alarm clock time parameters, time offset parameters, and motion parameters, the home device corresponding to the target home device identifier is controlled, including:
[0011] Determine the trigger time parameters based on the alarm clock time parameters and time offset parameters;
[0012] Based on the trigger time parameter, monitor whether the home device corresponding to the target home device identifier meets the control trigger conditions;
[0013] If the home appliance corresponding to the target home appliance identifier is detected and the control trigger conditions are met, the home appliance corresponding to the target home appliance identifier will be controlled according to the action parameters.
[0014] In one implementation, the trigger time parameters are determined based on the alarm clock time parameters and the time offset parameters, including:
[0015] Run the alarm clock application and send the alarm time parameters and linkage configuration parameters to the home device application corresponding to the target home device identifier;
[0016] Run the home appliance application to obtain the time offset parameter from the linkage configuration parameters;
[0017] Run the home appliance application to determine the trigger time parameters based on the alarm time parameters and time offset parameters.
[0018] In one implementation,
[0019] The time offset parameter includes the time offset method; wherein, the time offset method includes any of the following: simultaneous method, advanced method, and delayed method;
[0020] When the time offset method includes either an advance method or a delay method, the time offset parameter also includes the offset duration.
[0021] In one implementation, in response to a user's home device settings operation on the alarm clock settings interface, the target home device identifier and the corresponding linkage configuration parameters are determined, including:
[0022] In response to the user's action of adding controls in the alarm clock time setting interface, the home appliance selection interface is displayed; the home appliance selection interface includes selected controls corresponding to multiple home appliance icons; the home appliance selection interface and the alarm clock time setting interface are both part of the alarm clock setting interface;
[0023] In response to the user's action on the selected control corresponding to the target home appliance icon, the configuration interface corresponding to the target home appliance icon is displayed; the selected control corresponding to the target home appliance icon may be selected controls corresponding to multiple home appliance icons; the configuration interface includes configuration controls; the configuration interface belongs to the alarm clock settings interface;
[0024] In response to user actions on the configuration controls, obtain the linkage configuration parameters corresponding to the target home appliances.
[0025] In one implementation, the configuration control includes an action control and a time offset control; in response to user actions on the configuration control, the linkage configuration parameters corresponding to the target home appliance are obtained, including:
[0026] In response to the user's operation on the action control, the target action parameter is determined from at least one selectable action parameter, and the target action parameter is set as the action parameter in the linkage configuration parameters;
[0027] Based on the status information of the time offset control, determine the time offset parameter in the linkage configuration parameters.
[0028] Secondly, embodiments of this application provide a control device for home appliances, comprising:
[0029] The acquisition module is used to obtain alarm time parameters in response to the user's time setting operation on the alarm clock settings interface; where the alarm clock settings interface is the settings interface of the alarm clock application.
[0030] The acquisition module is also used to respond to the user's home device setting operation on the alarm clock setting interface, determine the target home device identifier, and the linkage configuration parameters corresponding to the target home device identifier; among which, the linkage configuration parameters include time offset parameters and action parameters;
[0031] The processing module is used to control the home devices corresponding to the target home device identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0032] In one implementation, the processing module is specifically used for:
[0033] Determine the trigger time parameters based on the alarm clock time parameters and time offset parameters;
[0034] Based on the trigger time parameter, monitor whether the home device corresponding to the target home device identifier meets the control trigger conditions;
[0035] If the home appliance corresponding to the target home appliance identifier is detected and the control trigger conditions are met, the home appliance corresponding to the target home appliance identifier will be controlled according to the action parameters.
[0036] In one implementation, the processing module is specifically used for:
[0037] Run the alarm clock application and send the alarm time parameters and linkage configuration parameters to the home device application corresponding to the target home device identifier;
[0038] Run the home appliance application to obtain the time offset parameter from the linkage configuration parameters;
[0039] Run the home appliance application to determine the trigger time parameters based on the alarm time parameters and time offset parameters.
[0040] In one implementation,
[0041] The time offset parameter includes the time offset method; wherein, the time offset method includes any of the following: simultaneous method, advanced method, and delayed method;
[0042] When the time offset method includes either an advance method or a delay method, the time offset parameter also includes the offset duration.
[0043] In one implementation, the acquisition module is specifically used for:
[0044] In response to the user's action of adding controls in the alarm clock time setting interface, the home appliance selection interface is displayed; the home appliance selection interface includes selected controls corresponding to multiple home appliance icons; the home appliance selection interface and the alarm clock time setting interface are both part of the alarm clock setting interface;
[0045] In response to the user's action on the selected control corresponding to the target home appliance icon, the configuration interface corresponding to the target home appliance icon is displayed; the selected control corresponding to the target home appliance icon may be selected controls corresponding to multiple home appliance icons; the configuration interface includes configuration controls; the configuration interface belongs to the alarm clock settings interface;
[0046] In response to user actions on the configuration controls, obtain the linkage configuration parameters corresponding to the target home appliances.
[0047] In one implementation, the configuration controls include action controls and time offset controls; the acquisition module is specifically used for:
[0048] In response to the user's operation on the action control, the target action parameter is determined from at least one selectable action parameter, and the target action parameter is set as the action parameter in the linkage configuration parameters;
[0049] Based on the status information of the time offset control, determine the time offset parameter in the linkage configuration parameters.
[0050] Thirdly, embodiments of this application provide a chip, the chip including at least one processor, the processor being configured to execute program instructions to perform the method of the first aspect.
[0051] Fourthly, this application provides a chip module on which a computer program is stored. When the computer program is executed by the chip module, it implements the method as described in any of the first aspects.
[0052] Fifthly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0053] The memory stores the instructions that the computer executes;
[0054] The processor executes computer execution instructions stored in memory, causing the processor to perform the method as described in the first aspect.
[0055] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method of the first aspect.
[0056] In a seventh aspect, embodiments of this application provide a computer program product, including computer execution instructions, which, when executed by a processor, cause the method of the first aspect to be performed.
[0057] This application provides a method, apparatus, device, medium, and program product for controlling home appliances. In this method, an electronic device can obtain alarm clock time parameters in response to a user's time setting operation on an alarm clock setting interface. The alarm clock setting interface is the settings interface of an alarm clock application. The electronic device can determine a target home appliance identifier and corresponding linkage configuration parameters in response to a user's home appliance setting operation on the alarm clock setting interface; the linkage configuration parameters include time offset parameters and action parameters. The electronic device can control the home appliance corresponding to the target home appliance identifier based on the alarm clock time parameters, time offset parameters, and action parameters. By setting the linkage configuration parameters corresponding to the target home appliance identifier simultaneously with setting the alarm clock time parameters on the alarm clock setting interface, it is unnecessary to separately configure the home appliance in the settings interface of the corresponding home appliance application after setting the alarm clock time parameters on the alarm clock setting interface, thus reducing the user's workload and operation time. Furthermore, this method can improve the accuracy of setting the trigger timing of home appliances, thereby improving the user experience. Attached Figure Description
[0058] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0059] Figure 1 A schematic diagram illustrating an application scenario provided in an embodiment of this application;
[0060] Figure 2a A flowchart illustrating a method for controlling a home appliance according to an embodiment of this application;
[0061] Figure 2b A schematic diagram illustrating an electronic device running an application, provided as an embodiment of this application;
[0062] Figure 2cThis is a schematic diagram illustrating the setting of various parameters according to an embodiment of this application;
[0063] Figure 2d A schematic diagram of an alarm clock adding interface provided in an embodiment of this application;
[0064] Figure 2e A schematic diagram of an alarm clock time setting interface provided in an embodiment of this application;
[0065] Figure 3 A flowchart illustrating a second embodiment of a home appliance control method provided in this application;
[0066] Figure 4a A flowchart illustrating a third embodiment of a home appliance control method provided in this application;
[0067] Figure 4b A schematic diagram of a home appliance selection interface provided in an embodiment of this application;
[0068] Figure 4c A schematic diagram of the configuration interface for the bedroom curtains provided in this application embodiment. Figure 1 ;
[0069] Figure 4d A schematic diagram of the configuration interface for the whole-house fresh air system provided in the embodiments of this application;
[0070] Figure 4e Schematic diagram 2 of the configuration interface for the bedroom curtains provided in the embodiments of this application;
[0071] Figure 4f A schematic diagram of the configuration interface for the bedroom curtains provided in this application embodiment. Figure 3 ;
[0072] Figure 4g A schematic diagram of an editing interface corresponding to an added operation, provided for an embodiment of this application;
[0073] Figure 4h A schematic diagram of an alarm clock list interface provided in an embodiment of this application;
[0074] Figure 5 This is a schematic diagram of the structure of a control device for a home appliance provided in an embodiment of this application;
[0075] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0076] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0077] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0078] In this application, "at least one" refers to one or more, and "multiple" refers to two or more. Furthermore, the word "equal to" in this application can be used with either "greater than" or "less than". When "equal to" and "greater than" are used together, the technical solution using "greater than" is adopted; when "equal to" and "less than" are used together, the technical solution using "less than" is adopted.
[0079] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0080] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0081] Figure 1 This is a schematic diagram illustrating an application scenario provided in an embodiment of this application.
[0082] Please see Figure 1 The application scenario includes electronic devices 10 and home appliances 20.
[0083] The electronic device 10 can be a mobile phone, a tablet computer, a laptop computer, or other electronic devices. This application embodiment does not limit this.
[0084] Home appliance 20 can be curtains, a whole-house fresh air system, a washing machine, a chandelier, a stereo system, or other devices; this application embodiment does not limit this. For example, Figure 1 The home appliance 20 shown can be a washing machine.
[0085] In related technologies, users can set alarm trigger time parameters on an alarm clock application on electronic device 10. Users can also set trigger time parameters corresponding to a target scene on a home appliance application on electronic device 10, so that electronic device 10 runs the home appliance application and controls home appliance 20 according to the trigger time parameters.
[0086] However, the methods of setting alarm clock applications and home device applications separately in related technologies have operational redundancy, resulting in long operation times.
[0087] To address the aforementioned technical issues, this application provides a method for controlling home appliances. The electronic device can obtain alarm clock time parameters in response to a user's time setting operation on an alarm clock setting interface; wherein the alarm clock setting interface is the settings interface of an alarm clock application. The electronic device can also determine a target home appliance identifier and corresponding linkage configuration parameters in response to a user's home appliance setting operation on the alarm clock setting interface; wherein the linkage configuration parameters include time offset parameters and motion parameters. The electronic device can control the home appliance corresponding to the target home appliance identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0088] By setting the alarm time parameters simultaneously with the target home appliance's corresponding linkage configuration parameters in the alarm clock settings interface, it's unnecessary to separately configure the home appliance in the corresponding settings interface of the home appliance application after setting the alarm time parameters in the alarm clock settings interface. This reduces the amount of user work and thus reduces operation time. Furthermore, this method improves the accuracy of setting the trigger timing for home appliances, thereby enhancing the user experience.
[0089] The technical solutions shown in this application will now be described in detail through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; for identical or similar content, the description will not be repeated in different embodiments.
[0090] Figure 2a This is a flowchart illustrating a method for controlling a home appliance according to an embodiment of this application. Please refer to... Figure 2a The method may include:
[0091] S201: In response to the user's time setting operation on the alarm clock settings interface, obtain the alarm clock time parameters.
[0092] In this embodiment, Figure 2b This is a schematic diagram illustrating an electronic device running an application, as provided in an embodiment of this application. Figure 2b As shown, electronic devices can run alarm clock applications. Additionally, electronic devices can also run home appliance applications.
[0093] The display area of the electronic device can show the alarm clock settings interface. This alarm clock settings interface is the settings interface for the alarm clock application.
[0094] Electronic devices can respond to user actions related to setting the time on the alarm clock settings interface and obtain alarm clock time parameters. Figure 2c This is a schematic diagram illustrating the setting of various parameters according to an embodiment of this application. Figure 2cAs shown, users can set alarm time parameters. These parameters include the alarm start time (also known as the alarm duration) and the repeat mode. Additionally, alarm time parameters can also include the ringtone, tag, and reminder method (such as vibration upon ringing). In other words, users can also set the ringtone, tag, and reminder method.
[0095] The following section explains the process by which an electronic device obtains alarm time parameters in response to a user's time setting operation on the alarm clock settings interface.
[0096] The alarm clock settings interface includes an alarm clock addition interface.
[0097] The alarm clock adding interface may include alarm clock adding controls. For example, Figure 2d This is a schematic diagram of an alarm clock adding interface provided in an embodiment of this application. Figure 2d As shown, the alarm clock adding interface can include an alarm clock adding control (alarm clock adding icon). The alarm clock adding control can be placed in the lower right corner of the alarm clock adding interface.
[0098] The electronic device can display an alarm clock time setting interface in response to a user's action of adding controls to the alarm clock (such as a click). This alarm clock time setting interface includes controls for adding controls and controls for setting time parameters. For example, Figure 2e This is a schematic diagram of an alarm clock time setting interface provided in an embodiment of this application.
[0099] Electronic devices can obtain alarm clock time parameters in response to user actions on time parameter setting controls.
[0100] It should be noted that in one implementation, the electronic device can monitor whether the current time matches the alarm clock's time parameters. If the electronic device detects a match between the current time and the alarm clock's time parameters, it can then issue a reminder.
[0101] S202: In response to the user's home device setting operation on the alarm clock setting interface, determine the target home device identifier and the linkage configuration parameters corresponding to the target home device identifier.
[0102] In this embodiment, the electronic device can respond to the user's home device setting operation on the alarm clock setting interface, determine the target home device identifier, and the corresponding linkage configuration parameters of the target home device identifier. In other words, the user can set the target home device identifier.
[0103] The linkage configuration parameters include time offset parameters and motion parameters. For example, such as... Figure 2c As shown, the action parameter can be either on or off.
[0104] It should be noted that the time offset parameter includes the time offset method. The time offset method includes any of the following: simultaneous method, advanced method, and delayed method.
[0105] It should also be noted that when the time offset method includes either an advance method or a delay method, the time offset parameter also includes the offset duration.
[0106] The following section explains the process by which an electronic device responds to a user's home device setting operation on the alarm clock setting interface, determines the target home device identifier, and the corresponding linkage configuration parameters of the target home device identifier.
[0107] In one implementation:
[0108] The home appliance selection interface and the alarm clock time setting interface belong to the alarm clock settings interface.
[0109] Electronic devices can respond to a user's action of adding controls in the alarm clock time setting interface to display a home appliance selection interface.
[0110] The home appliance selection interface includes selection controls corresponding to multiple home appliance icons.
[0111] Electronic devices can respond to a user's action on the selected control corresponding to the target home appliance icon and display the configuration interface corresponding to the target home appliance icon.
[0112] The selection control corresponding to the target home appliance icon is one of multiple selection controls corresponding to various home appliance icons. The configuration interface includes configuration controls. The configuration interface is part of the alarm clock settings interface.
[0113] Electronic devices can respond to user actions on configuration controls and obtain the linkage configuration parameters corresponding to the target home appliances.
[0114] S203: Control the home device corresponding to the target home device identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0115] In this embodiment, the electronic device can control the home device corresponding to the target home device identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0116] In one implementation:
[0117] Electronic devices can determine the trigger time parameters based on alarm clock time parameters and time offset parameters.
[0118] Electronic devices can monitor whether the home appliances corresponding to the target home appliance identifier meet the control trigger conditions based on the trigger time parameter.
[0119] When an electronic device detects a home appliance corresponding to a target home appliance identifier and the control trigger conditions are met, it can control the home appliance corresponding to the target home appliance identifier based on the action parameters.
[0120] The beneficial effects of this embodiment are as follows: In this embodiment, the electronic device can obtain alarm time parameters in response to the user's time setting operation on the alarm clock setting interface. The alarm clock setting interface is the settings interface of the alarm clock application. The electronic device can determine the target home appliance identifier and the corresponding linkage configuration parameters in response to the user's home appliance setting operation on the alarm clock setting interface; the linkage configuration parameters include time offset parameters and motion parameters. The electronic device can control the home appliance corresponding to the target home appliance identifier based on the alarm time parameters, time offset parameters, and motion parameters. By setting the linkage configuration parameters corresponding to the target home appliance identifier simultaneously with setting the alarm time parameters on the alarm clock setting interface, it is unnecessary to separately configure the home appliance in the settings interface of the home appliance application after setting the alarm time parameters on the alarm clock setting interface, thus reducing the amount of user operation and consequently reducing operation time. Furthermore, this method can improve the accuracy of setting the trigger timing of home appliances, thereby improving the user experience.
[0121] Figure 3 This is a flowchart illustrating a second embodiment of a home appliance control method provided in this application. Please refer to... Figure 3 The method may include:
[0122] S301: Responds to the user's time setting operation on the alarm clock settings interface, and obtains the alarm clock time parameters.
[0123] In this embodiment, the electronic device can obtain alarm time parameters in response to the user's time setting operation on the alarm clock setting interface.
[0124] The alarm clock settings interface is the settings interface for the alarm clock application.
[0125] The specific implementation process is the same as that of S201, and will not be described in detail here.
[0126] S302: In response to the user's home device setting operation on the alarm clock setting interface, determine the target home device identifier and the linkage configuration parameters corresponding to the target home device identifier.
[0127] In this embodiment, the electronic device can respond to the user's home device setting operation on the alarm clock setting interface, determine the target home device identifier, and the linkage configuration parameters corresponding to the target home device identifier.
[0128] The linkage configuration parameters include time offset parameters and action parameters.
[0129] The specific implementation process is the same as that of S202, and will not be described in detail here.
[0130] S303: Determine the trigger time parameters based on the alarm clock time parameters and time offset parameters.
[0131] In this embodiment, the electronic device can determine the trigger time parameter based on the alarm clock time parameter and the time offset parameter.
[0132] In one implementation:
[0133] The electronic device can run an alarm clock application and send alarm time parameters and linkage configuration parameters to the corresponding home device application identified by the target home device. In one implementation, the electronic device can run the alarm clock application and send the alarm time parameters and linkage configuration parameters to the home device application via inter-process communication. In another implementation, the electronic device can run the alarm clock application and write the alarm time parameters and linkage configuration parameters to a shared memory area. The electronic device can also run the home device application and read the alarm time parameters and linkage configuration parameters from the shared memory area.
[0134] Electronic devices can run home appliance applications to obtain the time offset parameter from the linkage configuration parameters.
[0135] Electronic devices can run home appliance applications to determine the trigger time parameters based on alarm clock time parameters and time offset parameters.
[0136] The following section explains the process by which an electronic device determines the trigger time parameter based on the alarm clock time parameter and the time offset parameter.
[0137] In one implementation:
[0138] Alarm time parameters can include the alarm start time and repeat mode.
[0139] Electronic devices can determine the trigger start time based on the alarm start time and time offset parameters.
[0140] Electronic devices can determine trigger time parameters, including the trigger start time and the repetition mode.
[0141] The following section explains how an electronic device determines the trigger start time based on the alarm clock's start time and time offset parameters.
[0142] In one implementation, when the time offset parameter includes a time offset mode and the time offset mode is a simultaneous mode, the electronic device can determine the alarm start time as the trigger start time.
[0143] In one implementation, when the time offset parameter includes a time offset method and an offset duration, and the time offset method is an advance method, the electronic device can determine the trigger start time as the time that is earlier than the alarm start time and has an offset duration between it and the alarm start time.
[0144] In one implementation, when the time offset parameter includes a time offset method and an offset duration, and the time offset method is a delayed method, the electronic device can determine the trigger start time as the time that is later than the alarm start time and has an offset duration between it and the alarm start time.
[0145] S304: Based on the trigger time parameter, monitor whether the home appliance corresponding to the target home appliance identifier meets the control trigger conditions.
[0146] In this embodiment, the electronic device can monitor whether the home device corresponding to the target home device identifier meets the control triggering conditions based on the triggering time parameter.
[0147] The electronic device can continue monitoring even if no home appliance corresponding to the target home appliance identifier is detected and the control trigger condition is met. In other words, the electronic device can continue to execute S304.
[0148] or,
[0149] The electronic device can execute S305 when it detects the home device corresponding to the target home device identifier and the control triggering conditions are met.
[0150] The following section explains the process by which electronic devices monitor whether the home appliances corresponding to the target home appliance identifier meet the control trigger conditions based on the trigger time parameters.
[0151] In one implementation:
[0152] Electronic devices can monitor whether the current time matches the trigger time parameter.
[0153] When the electronic device detects that the current time matches the trigger time parameter, it can identify the home appliance corresponding to the target home appliance identifier and meet the control trigger conditions.
[0154] S305: Control the home appliance corresponding to the target home appliance identifier based on the action parameters.
[0155] In this embodiment, the electronic device can control the home device corresponding to the target home device identifier according to the action parameters when it detects the home device corresponding to the target home device identifier and meets the control triggering conditions.
[0156] For example, if the action parameter is "close" and the target home appliance is a whole-house fresh air system (whole-house fresh air device), the electronic device can close the whole-house fresh air system when it detects the whole-house fresh air system and meets the control trigger conditions.
[0157] For another example, if the action parameter is "open" and the target home appliance is a curtain, the electronic device can open the curtain when it detects the curtain and the control trigger conditions are met.
[0158] The beneficial effects of this embodiment are as follows: In this embodiment, the electronic device can respond to the user's time setting operation on the alarm clock setting interface and obtain the alarm clock time parameters; wherein, the alarm clock setting interface is the settings interface of the alarm clock application. The electronic device can respond to the user's home device setting operation on the alarm clock setting interface and determine the target home device identifier and the linkage configuration parameters corresponding to the target home device identifier; wherein, the linkage configuration parameters include time offset parameters and action parameters. The electronic device can determine the trigger time parameters based on the alarm clock time parameters and the time offset parameters. The electronic device can monitor whether the home device corresponding to the target home device identifier meets the control trigger conditions based on the trigger time parameters. If the electronic device detects that the home device corresponding to the target home device identifier meets the control trigger conditions, it can control the home device corresponding to the target home device identifier according to the action parameters. By determining the trigger time parameters based on the alarm clock time parameters and the time offset parameters, users can flexibly set the triggering time of home devices, thereby improving the matching degree between the triggering time of home devices and the user's actual needs, and thus improving the user experience. Furthermore, by setting the alarm time parameters simultaneously with the target home appliance's corresponding linkage configuration parameters in the alarm clock settings interface, it's unnecessary to separately configure the home appliance in the corresponding settings interface of the home appliance application after setting the alarm time parameters in the alarm clock settings interface. This reduces the amount of user work and thus reduces operation time. Additionally, this method improves the accuracy of setting the trigger timing for home appliances, thereby enhancing the user experience.
[0159] Figure 4a This is a flowchart illustrating a third embodiment of a home appliance control method provided in this application. Please refer to... Figure 4a The method may include:
[0160] S401: In response to the user's time setting operation on the alarm clock settings interface, obtain the alarm clock time parameters.
[0161] In this embodiment, the electronic device can obtain alarm time parameters in response to the user's time setting operation on the alarm clock setting interface.
[0162] The alarm clock settings interface is the settings interface for the alarm clock application.
[0163] The specific implementation process is the same as that of S201, and will not be described in detail here.
[0164] S402: In response to the user's action of adding controls in the alarm clock time setting interface, display the home appliance selection interface.
[0165] In this embodiment, the alarm clock settings interface may include a home appliance selection interface and an alarm clock time setting interface. In other words, the home appliance selection interface and the alarm clock time setting interface are both part of the alarm clock settings interface.
[0166] The electronic device can respond to the user's action of adding controls in the alarm clock time setting interface to display a home appliance selection interface. This home appliance selection interface includes selectable controls corresponding to multiple home appliance icons.
[0167] Figure 4b This is a schematic diagram of a home appliance selection interface provided in an embodiment of this application. Figure 4b As shown, the home appliance selection interface can include selection controls for bedroom curtains, bedroom chandeliers, living room curtains, and whole-house fresh air systems.
[0168] S403: In response to the user's operation on the selected control corresponding to the target home appliance icon, display the configuration interface corresponding to the target home appliance icon.
[0169] In this embodiment, the selection control corresponding to the target home appliance identifier belongs to the selection controls corresponding to multiple home appliance identifiers.
[0170] Electronic devices can respond to a user's action on the selected control corresponding to the target home appliance icon and display the configuration interface corresponding to the target home appliance icon.
[0171] The configuration interface includes configuration controls. It should be noted that the configuration interface is part of the alarm clock settings interface.
[0172] S404: In response to the user's operation on the configuration control, obtain the linkage configuration parameters corresponding to the target home device.
[0173] In this embodiment, the electronic device can respond to the user's operation on the configuration control and obtain the linkage configuration parameters corresponding to the target home device. These linkage configuration parameters include time offset parameters and action parameters.
[0174] Additionally, it should be noted that in one implementation, the electronic device can also add a processing control for the added operation on the alarm clock time setting interface. This added operation indicates the linkage configuration parameters corresponding to the target home appliance. In other words, this added operation indicates the operation of the control home appliance linked to the alarm clock time parameters.
[0175] In one implementation:
[0176] The configuration controls include action controls and time offset controls.
[0177] The electronic device can respond to a user's operation on the action control, determine a target action parameter from at least one selectable action parameter, and set the target action parameter as the action parameter in the linkage configuration parameters.
[0178] Electronic devices can determine the time offset parameter in the linkage configuration parameters based on the status information of the time offset control.
[0179] The following section explains the process by which the electronic device determines the time parameter in the linkage configuration parameters based on the status information of the time offset control.
[0180] In one implementation:
[0181] The time offset control includes an offset activation control, an offset method selection control, and an offset duration setting control. It should be noted that in one implementation, the offset activation control is initially in an untriggered state. That is, initially, the offset activation control is not in a triggered state. Figure 4c A schematic diagram of the configuration interface for the bedroom curtains provided in this application embodiment. Figure 1 .like Figure 4c As shown, when the user does not operate the offset activation control, the status information of the offset activation control is "not triggered". Figure 4d This is a schematic diagram of the configuration interface for the whole-house fresh air system provided in an embodiment of this application. For example... Figure 4d As shown, when the user does not operate the offset activation control, the status information of the offset activation control is "not triggered".
[0182] When the electronic device detects that the offset activation control is in a triggered state, it can control the configuration interface to display the offset method selection control and the offset duration setting control. For example, Figure 4e This is a schematic diagram (2) of the configuration interface for the bedroom curtains provided in an embodiment of this application. Figure 4e As shown, when the offset activation control is in the triggered state, the configuration interface displays the offset method selection control and the offset duration setting control. Figure 4fA schematic diagram of the configuration interface for the bedroom curtains provided in this application embodiment. Figure 3 .like Figure 4f As shown, when the offset activation control is in the triggered state, the configuration interface displays the offset method selection control and the offset duration setting control.
[0183] The electronic device can respond to a user's operation on the offset method selection control and determine that the time offset method is a first time offset method. The first time offset method can be either an advanced method or a delayed method. For example, such as... Figure 4e As shown, the first offset method can be a delayed method; for example... Figure 4f As shown, the first offset method can be the advance method.
[0184] The electronic device can obtain the offset duration in response to a user's operation on a time offset control. For example, such as... Figure 4e and Figure 4f As shown, the offset duration can be 10 minutes.
[0185] or,
[0186] The electronic device can determine that the time offset method is simultaneous if it detects that the offset activation control's status information is not in a triggered state. In one implementation, the configuration interface may further include a first completion control (√). The electronic device can determine whether the offset activation control's status information is in a triggered state in response to the user's operation on the first completion control. The electronic device can determine that the time offset method is simultaneous if it determines that the offset activation control's status information is not in a triggered state.
[0187] Additionally, it should be noted that in one implementation, the alarm clock time setting interface may also include a processing control for added operations. The electronic device can respond to the user's operation on the processing control for the added operation, displaying the editing interface corresponding to the added operation. For example, Figure 4g This is a schematic diagram of an editing interface corresponding to an added operation, provided as an embodiment of this application. For example... Figure 4g As shown, the interface may include a delete control. The electronic device can delete the added operation in response to the user's action on the delete control.
[0188] Additionally, it should be noted that in one implementation, the alarm clock time setting interface may also include a second completion control (√). The electronic device can display an alarm clock list interface in response to the user's operation on the second completion control. The alarm clock list interface may include N alarm clock activation controls, where N can be an integer greater than or equal to 0. For example, Figure 4h This is a schematic diagram of an alarm clock list interface provided in an embodiment of this application. Figure 4h As shown, the alarm clock list interface can include three alarm clock activation controls.
[0189] S405: Control the home device corresponding to the target home device identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0190] In this embodiment, the electronic device can control the home device corresponding to the target home device identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0191] Its specific implementation method is the same as that of S203, and will not be described in detail here.
[0192] The beneficial effects of this embodiment are as follows: In this embodiment, the electronic device can respond to the user's operation of adding controls in the alarm clock time setting interface and display a home appliance selection interface; wherein, the home appliance selection interface includes selected controls corresponding to multiple home appliance icons; the home appliance selection interface and the alarm clock time setting interface belong to the alarm clock setting interface. The electronic device can respond to the user's operation of selecting the control corresponding to the target home appliance icon and display a configuration interface corresponding to the target home appliance icon; the selected control corresponding to the target home appliance icon belongs to the selected controls corresponding to multiple home appliance icons; the configuration interface includes configuration controls; the configuration interface belongs to the alarm clock setting interface. The electronic device can respond to the user's operation of the configuration controls and obtain the linkage configuration parameters corresponding to the target home appliance. Through the above method, the target home appliance icon and the linkage configuration parameters corresponding to the target home appliance icon can be accurately obtained through the alarm clock application's setting interface, reducing the amount of user operation and thus reducing operation time. In addition, through the above method, the accuracy of setting the trigger timing of home appliances can be improved, thereby improving the user experience.
[0193] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0194] Figure 5 This is a schematic diagram of the structure of a control device for a home appliance provided in an embodiment of this application. Figure 5 As shown, the control device 50 for home appliances includes an acquisition module 51 and a processing module 52. Among them,
[0195] The acquisition module 51 is used to acquire alarm clock time parameters in response to the user's time setting operation on the alarm clock setting interface; wherein, the alarm clock setting interface is the settings interface of the alarm clock application.
[0196] The acquisition module 51 is also used to respond to the user's home device setting operation on the alarm clock setting interface, determine the target home device identifier, and the linkage configuration parameters corresponding to the target home device identifier; wherein, the linkage configuration parameters include time offset parameters and action parameters;
[0197] The processing module 52 is used to control the home device corresponding to the target home device identifier based on the alarm clock time parameters, time offset parameters, and motion parameters.
[0198] The control device for home appliances provided in this application embodiment can execute the technical solutions in the above method embodiments, and its beneficial effects are similar, so they will not be described again here.
[0199] In one implementation, the processing module 52 is specifically used for:
[0200] Determine the trigger time parameters based on the alarm clock time parameters and time offset parameters;
[0201] Based on the trigger time parameter, monitor whether the home device corresponding to the target home device identifier meets the control trigger conditions;
[0202] If the home appliance corresponding to the target home appliance identifier is detected and the control trigger conditions are met, the home appliance corresponding to the target home appliance identifier will be controlled according to the action parameters.
[0203] The control device for home appliances provided in this application embodiment can execute the technical solutions in the above method embodiments, and its beneficial effects are similar, so they will not be described again here.
[0204] In one implementation, the processing module 52 is specifically used for:
[0205] Run the alarm clock application and send the alarm time parameters and linkage configuration parameters to the home device application corresponding to the target home device identifier;
[0206] Run the home appliance application to obtain the time offset parameter from the linkage configuration parameters;
[0207] Run the home appliance application to determine the trigger time parameters based on the alarm time parameters and time offset parameters.
[0208] The control device for home appliances provided in this application embodiment can execute the technical solutions in the above method embodiments, and its beneficial effects are similar, so they will not be described again here.
[0209] In one implementation,
[0210] The time offset parameter includes the time offset method; wherein, the time offset method includes any of the following: simultaneous method, advanced method, and delayed method;
[0211] When the time offset method includes either an advance method or a delay method, the time offset parameter also includes the offset duration.
[0212] The control device for home appliances provided in this application embodiment can execute the technical solutions in the above method embodiments, and its beneficial effects are similar, so they will not be described again here.
[0213] In one implementation, module 51 is specifically used for:
[0214] In response to the user's action of adding controls in the alarm clock time setting interface, the home appliance selection interface is displayed; the home appliance selection interface includes selected controls corresponding to multiple home appliance icons; the home appliance selection interface and the alarm clock time setting interface are both part of the alarm clock setting interface;
[0215] In response to the user's action on the selected control corresponding to the target home appliance icon, the configuration interface corresponding to the target home appliance icon is displayed; the selected control corresponding to the target home appliance icon may be selected controls corresponding to multiple home appliance icons; the configuration interface includes configuration controls; the configuration interface belongs to the alarm clock settings interface;
[0216] In response to user actions on the configuration controls, obtain the linkage configuration parameters corresponding to the target home appliances.
[0217] The control device for home appliances provided in this application embodiment can execute the technical solutions in the above method embodiments, and its beneficial effects are similar, so they will not be described again here.
[0218] In one implementation, the configuration control includes an action control and a time offset control; the acquisition module 51 is specifically used for:
[0219] In response to the user's operation on the action control, the target action parameter is determined from at least one selectable action parameter, and the target action parameter is set as the action parameter in the linkage configuration parameters;
[0220] Based on the status information of the time offset control, determine the time offset parameter in the linkage configuration parameters.
[0221] The control device for home appliances provided in this application embodiment can execute the technical solutions in the above method embodiments, and its beneficial effects are similar, so they will not be described again here.
[0222] This application provides a chip, which includes at least one processor. The processor is used to execute program instructions to perform the methods described in the foregoing method embodiments.
[0223] This application also provides a chip module. It is understood that, in one implementation, the chip module can be a 5G chip module.
[0224] The chip module stores a computer program, and when the computer program is executed by the chip module, it implements the method as described in the above method embodiment.
[0225] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. It can be understood that this electronic device can be a 5G chip module.
[0226] Please see Figure 6 The electronic device 60 may include a processor 61 and a memory 62. Exemplarily, the processor 61 and the memory 62 are interconnected via a bus 63.
[0227] Memory 62 stores computer-executed instructions;
[0228] The processor 61 executes computer execution instructions stored in the memory 62, causing the processor 61 to perform the technical solution as described in any of the foregoing method embodiments.
[0229] Optionally, the memory 62 can be either standalone or integrated with the processor 61. Optionally, when the memory 62 is a device independent of the processor 61, the electronic device 60 may further include a bus 63 for connecting the aforementioned devices.
[0230] The processor is used to execute the technical solutions in the aforementioned method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0231] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the technical solutions of any of the foregoing method embodiments.
[0232] This application also provides a computer program product, including computer execution instructions, which, when executed by a processor, cause the technical solutions of any of the foregoing method embodiments to be executed.
[0233] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0234] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A control method of a home device, characterized by, The method comprises: obtaining an alarm time parameter in response to a user's time setting operation on an alarm setting interface; wherein the alarm setting interface is a setting interface of an alarm application; determining a target home device identifier and a linkage configuration parameter corresponding to the target home device identifier in response to a user's home device setting operation on the alarm setting interface; wherein the linkage configuration parameter comprises a time offset parameter and an action parameter; controlling a home device corresponding to the target home device identifier according to the alarm time parameter, the time offset parameter and the action parameter.
2. The method of claim 1, wherein, The controlling a home device corresponding to the target home device identifier according to the alarm time parameter, the time offset parameter and the action parameter comprises: determining a trigger time parameter according to the alarm time parameter and the time offset parameter; monitoring whether a control trigger condition is met by the home device corresponding to the target home device identifier according to the trigger time parameter; controlling the home device corresponding to the target home device identifier according to the action parameter in the case where the control trigger condition is met by the home device corresponding to the target home device identifier.
3. The method of claim 2, wherein, The determining a trigger time parameter according to the alarm time parameter and the time offset parameter comprises: running the alarm application to send the alarm time parameter and the linkage configuration parameter to a home device application corresponding to the target home device identifier; running the home device application to obtain the time offset parameter in the linkage configuration parameter; running the home device application to determine the trigger time parameter according to the alarm time parameter and the time offset parameter.
4. The method of claim 3, wherein: the time offset parameter comprises a time offset mode; wherein the time offset mode comprises any one of the following: a simultaneous mode, an advance mode and a delay mode; in the case where the time offset mode comprises the advance mode or the delay mode, the time offset parameter further comprises an offset duration.
5. The method according to any one of claims 1 to 4, characterized in that, The determining a target home device identifier and a linkage configuration parameter corresponding to the target home device identifier in response to a user's home device setting operation on the alarm setting interface comprises: displaying a home device selection interface in response to a user's operation on an adding control in an alarm time setting interface; wherein the home device selection interface comprises a plurality of home device identifiers corresponding to selected controls; the home device selection interface and the alarm time setting interface belong to the alarm setting interface; displaying a configuration interface corresponding to a target home device identifier in response to a user's operation on a selected control corresponding to the target home device identifier; the selected control corresponding to the target home device identifier belongs to the plurality of home device identifiers corresponding to the selected controls; the configuration interface comprises a configuration control; the configuration interface belongs to the alarm setting interface; obtaining a linkage configuration parameter corresponding to the target home device in response to a user's operation on the configuration control.
6. The method of claim 5, wherein, The configuration control includes an action control and a time offset control; the obtaining of the linkage configuration parameter corresponding to the target home device in response to the operation of the user on the configuration control includes: in response to the operation of the user on the action control, determining a target action parameter from at least one to-be-selected action parameter, and determining the target action parameter as an action parameter in the linkage configuration parameter; determining a time offset parameter in the linkage configuration parameter according to the state information of the time offset control.
7. A control device of a home appliance, characterized by, comprising: an obtaining module, configured to obtain a clock time parameter in response to a time setting operation of a user on a clock setting interface; wherein the clock setting interface is a setting interface of a clock application program; the obtaining module is further configured to determine a target home device identifier and a linkage configuration parameter corresponding to the target home device identifier in response to a home device setting operation of the user on the clock setting interface; wherein the linkage configuration parameter includes a time offset parameter and an action parameter; a processing module, configured to control a home device corresponding to the target home device identifier according to the clock time parameter, the time offset parameter and the action parameter.
8. An electronic device, comprising: comprising: a memory and a processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the processor executes the method of any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by the processor, the method of any one of claims 1-6 is implemented.
10. A computer program product, characterised in that, comprising computer execution instructions, which when executed by the processor, cause the method of any one of claims 1-6 to be executed.