Household appliance control method and device, storage medium and household appliance
By obtaining historical control data of other home appliances and combining user control instructions and intention information, target control data is generated, and the problem of the operation of home appliances in the prior art does not meet user preferences and improve user experience.
Patent Information
- Application Number
- CN202310761924.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2024-12-27
AI Technical Summary
The existing home appliances control method is single, and it cannot improve the user's interactive experience, especially when the user does not set the control data, the device cannot automatically adjust the parameters according to user preferences.
By obtaining the control data generated historically by other home appliances as a reference, combining the user's control instructions and intent information, target control data is generated most in line with the user's preferences and applied to the target home appliances.
It improves users' interactive experience with home appliances, makes the device operation more in line with users' habits and preferences, and improves the user experience.
Smart Images

Figure CN119200439A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of household electrical appliances, and in particular to a method, device, storage medium and household electrical appliance control method. Background Art
[0002] Currently, if a home appliance receives a control instruction from a user, it will either run in the default mode corresponding to the control instruction or based on the control data currently set by the user. For example, if a user issues a power-on instruction to an air conditioner and does not set control data (such as temperature, wind speed, etc.), the air conditioner will run in the default mode (for example, according to the last control data of the air conditioner). It can be seen that the current control method for home appliances is single and cannot improve the user's interactive experience. Based on this, how to improve the user's interactive experience when using home appliances is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a method, device, storage medium and home appliance control method for home appliances. Based on the technical solution provided in the present application, control data that is more in line with user preferences can be determined, thereby improving the user's interactive experience in using home appliances.
[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0005] According to a first aspect of an embodiment of the present application, a method for controlling a household appliance is provided, which is executed on a target household appliance, and comprises: in response to receiving a device control instruction issued by a user, obtaining reference control data, wherein the reference control data at least includes control data historically generated by other household appliances; generating target control data based on the device control instruction and the reference control data; and controlling the target household appliance to perform an action according to the target control data.
[0006] In some embodiments of the present application, based on the aforementioned scheme, obtaining the reference control data includes: obtaining the reference control data from the cache of the target home appliance; or obtaining the reference control data from the cache of each other home appliance.
[0007] In some embodiments of the present application, based on the aforementioned scheme, generating target control data based on the device control instruction and the reference control data includes: determining at least one control data matching the device control instruction from the reference control data as candidate control data; and generating the target control data based on the candidate control data.
[0008] In some embodiments of the present application, based on the aforementioned scheme, determining at least one control data matching the device control instruction from the reference control data includes: determining the intent information of the device control instruction; determining at least one control data matching the intent information from the reference control data.
[0009] In some embodiments of the present application, based on the aforementioned scheme, determining at least one control data that matches the device control instruction from the reference control data includes: determining the identity information of the user and the intention information of the device control instruction; determining at least one control data that matches the identity information and the intention information from the reference control data.
[0010] In some embodiments of the present application, based on the aforementioned scheme, generating the target control data based on the candidate control data includes: determining the timestamp of the generation of each control data in the candidate control data; and determining the control data whose timestamp is closest to the current time from the candidate control data as the target control data.
[0011] In some embodiments of the present application, based on the aforementioned scheme, generating the target control data based on the candidate control data includes: determining the number of repetitions of each control data in the candidate control data; and determining the control data with the largest number of repetitions from the candidate control data as the target control data.
[0012] In some embodiments of the present application, based on the aforementioned scheme, after generating the target control data based on the device control instruction and the reference control data, the method also includes: broadcasting the target control data to other household appliances so that other household appliances save the target control data.
[0013] According to the second aspect of an embodiment of the present application, a home appliance control device is provided, which is arranged in a target home appliance, and comprises: an acquisition unit, for acquiring reference control data in response to receiving a device control instruction issued by a user, wherein the reference control data at least comprises control data historically generated by other home appliances; a generation unit, for generating target control data based on the device control instruction and the reference control data; and a control unit, for controlling the target home appliance to perform actions according to the target control data.
[0014] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided, characterized in that at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement the operations performed by the method described in any one of the first aspects above.
[0015] According to a fourth aspect of an embodiment of the present application, a household appliance is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by the method described in any one of the first aspects above.
[0016] The technical solution of the present application, when the target home appliance receives a device control instruction issued by the user, first obtains reference control data that at least includes control data generated historically by other home appliances; then generates target control data based on the device control instruction and the reference control data; and finally controls the target home appliance to perform actions according to the target control data. It can be seen that the technical solution of the present application, in the process of controlling the target home appliance, will refer to the control data generated historically by other home appliances to determine the best target control data for the operation of the target home appliance this time. It can be understood that in the present application, the control functions of home appliances are not independent of each other, but share the historical control data of other home appliances, so that the determined target control parameters are more in line with user preferences, thereby enhancing the user's interactive experience with home appliances.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 A schematic diagram of a flow chart of a method for controlling a household appliance according to an embodiment of the present application is shown;
[0020] Figure 2 A detailed flow chart of generating target control data based on the device control instruction and the reference control data according to an embodiment of the present application is shown;
[0021] Figure 3 A block diagram of a home appliance control device according to an embodiment of the present application is shown;
[0022] Figure 4 A schematic structural diagram of a household appliance according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0024] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the present application.
[0025] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0026] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0027] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 objects used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those shown or described.
[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] Some embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.
[0031] It should be noted that the household appliances in this application include but are not limited to televisions, refrigerators, washing machines, air conditioners, stereos and other smart devices.
[0032] See also Figure 1 , shows a schematic flow chart of a method for controlling a household appliance according to an embodiment of the present application, specifically including S110 to S130:
[0033] S110, in response to receiving a device control instruction issued by a user, obtaining reference control data, where the reference control data at least includes control data generated historically by other household electrical appliances.
[0034] It should be noted that the home appliance control method of the present application is executed on the target home appliance.
[0035] It should also be noted that the user of this application can issue device control instructions to the target home appliance through voice, touch operation, etc.
[0036] It should also be noted that the other home appliances may be home appliances in the same home environment as the target home appliances, or they may be home appliances set in other environments, and this application does not limit this in detail. The other home appliances may be of the same device type as the target home appliances, or they may be of a different device type, and this application does not limit this in detail.
[0037] It should also be noted that the reference control data may also include control data generated historically by the target home appliance.
[0038] It should also be noted that the control data includes but is not limited to device control instructions, such as power on, power off, pause, play, continue playing, etc.; control parameters, such as taking air conditioning as an example, the control parameters include cooling, cooling temperature data, wind speed, swing angle, etc.; intention information of device control instructions; identity information of the user who issues the device control instruction, device type, device name, etc.
[0039] In this embodiment, obtaining reference control data includes at least the following three implementation methods.
[0040] A first implementation manner: acquiring the reference control data from a cache of the target home appliance.
[0041] It can be understood that in this embodiment, the reference control data is stored in the local cache of the target home appliance.
[0042] In some implementations, after generating control data, other home appliances can broadcast it to the target home appliances through a local area network or other means, so that the target home appliances can save the control data generated by other home appliances in a local cache; after generating control data, other home appliances can upload the control data to a server, so that the server transmits the generated control data to the target home appliances, so that the target home appliances save the control data generated by other home appliances in a local cache. Of course, the control data generated by other home appliances can also be shared with the target home appliances through other means, which is not limited in this application.
[0043] For example, for a home central air conditioner installed by a user, the duct unit in each room will be equipped with a wire controller to control the operation of the duct unit in that room. After any wire controller in the user's home generates control data, it will broadcast the generated control data to other wire controllers, so that reference control data will be saved in the local cache of each wire controller in the user's home.
[0044] A second implementation manner: obtaining the reference control data from the cache of each other household electrical appliance.
[0045] In some embodiments, each other home appliance device saves the control data generated historically by itself in its own local cache, so that after receiving the device control instruction issued by the user, the target home appliance device can obtain the control data generated historically from the cache of each other home appliance device, thereby forming reference control data.
[0046] In some implementations, each other home appliance can save control data generated in different time periods. For example, in a user's home with a central air conditioner, the wire controller A in the user's home saves the control data generated by each wire controller in the home in the first month; the wire controller B saves the control data generated by each wire controller in the home in the second month...; so that after the target wire controller in the user's home receives the device control instruction issued by the user, it can obtain the saved control data from the wire controller A\B..., thereby forming reference control data.
[0047] It can be understood that in the second embodiment, since each home appliance does not need to save the control data historically generated by each other home appliance in the local cache, this acquisition method is suitable for home appliances with smaller memory, thereby improving the operating efficiency of the home appliances.
[0048] A third implementation manner is to obtain the reference control data from the cloud.
[0049] It can be understood that in this embodiment, whether it is the target home appliance or each other home appliance, after generating control data, the generated control data will be uploaded to the cloud, so that the cloud can save the control data generated historically by the target home appliance and each other home appliance, and then the target home appliance can obtain the reference control data from the cloud.
[0050] In step S110, when the target user receives a device control instruction issued by the user, since reference control data including control data generated historically by other devices is obtained, the control of the target home appliance is no longer solely dependent on the control data generated historically by the target home appliance itself, or the control data selected by the user when issuing the device control instruction. Therefore, for the device control instruction, target control parameters that are more in line with the user's preferences can be determined, so that the operation of the target device is more in line with the user's requirements, which can enhance the user's interactive experience in using home appliances.
[0051] Continue to see Figure 1 , S120, generating target control data based on the device control instruction and the reference control data.
[0052] In some implementations, the target control data is generated based on the device control instruction and the reference control data. Figure 2 Execute in the manner shown.
[0053] See also Figure 2 , shows a detailed flow chart of generating target control data based on the device control instruction and the reference control data according to an embodiment of the present application, specifically including the following S121 to S122:
[0054] S121, determining at least one control data matching the device control instruction from the reference control data as candidate control data.
[0055] In this embodiment, the implementation method of determining at least one control data matching the device control instruction from the reference control data as candidate control data includes at least the following two implementation methods.
[0056] The first embodiment includes the following S1A to S2A:
[0057] S1A, determining the intention information of the device control instruction.
[0058] S2A, determining at least one control data matching the intention information from the reference control data.
[0059] For example, at 12:00, the user sends an instruction to device A in bedroom A to continue playing music, so that device A can determine that the device control instruction issued by the user is "continue playing music". Device A can use all control data recorded in the reference control data that matches the continuation of playing music as candidate control data. For example, device B in bedroom B plays "Song A" at 11:00 on the same day, device C in bedroom C plays "Song B" at 10:00 on the same day, and so on, are all used as candidate control data.
[0060] The second implementation includes the following S1B to S2B:
[0061] S1B, determining the identity information of the user and the intention information of the device control instruction.
[0062] It should be noted that the user's identity information can be determined by identifying the user's voice information, or by collecting the user's fingerprint information, or by collecting the user's facial image, etc. Specifically, how to determine the user's identity information can be designed according to actual conditions, and this application does not give examples one by one here.
[0063] S2B, determining at least one control data matching the identity information and the intention information from the reference control data.
[0064] For example, user A sends a command to device A in bedroom A to continue playing music at 12:00, so device A can determine that the device control command sent by user A is "continue playing music". Device A can use all control data matching the continued playing of music and user A recorded in the reference control data as candidate control data, such as the play "song A" sent by user A to device B in bedroom B at 11:00 on the same day, and the play "song C" sent by user A to device C in bedroom C at 9:00 on the same day, etc., as candidate control data.
[0065] In step S121, it can be understood that in the above two implementations, the first implementation does not consider the user's identity information. The reference control data obtained can be used as candidate control parameters as long as it matches the intention information of the device control instruction issued by the user. This processing method is more streamlined than the second implementation method, which can improve processing efficiency. The second implementation method considers the user's identity information, so that the candidate control parameters obtained are more in line with the user's setting habits, so that the target control parameters finally generated are more in line with the user's preferences, and the user's interactive experience with the use of home appliances is improved.
[0066] Continue to see Figure 2 , S122, generating the target control data based on the candidate control data.
[0067] In this embodiment, the specific implementation methods of generating the target control data based on the candidate control data include at least the following two implementation methods.
[0068] The first embodiment includes the following steps S10A to S20A:
[0069] S10A: Determine the timestamp of generation of each piece of control data in the candidate control data.
[0070] S20A: Determine, from the candidate control data, control data whose timestamp is closest to the current time as the target control data.
[0071] For example, at 12:00, the user sends an instruction to device A in bedroom A to continue playing music. The matched candidate control data include device A in bedroom A playing "Song A" at 18:00 the previous day, and device B in bedroom B playing "Song B" at 11:00 on the same day. Then, the candidate control data of device B in bedroom B playing "Song B" at 11:00 on the same day can be used as the target control parameter of device A, that is, device A will continue to play song B next.
[0072] The second implementation includes the following steps S10B to S20B:
[0073] S10B, determining the number of repetitions of each piece of control data in the candidate control data.
[0074] S20B: Determine the control data with the largest number of repetitions from the candidate control data as the target control data.
[0075] For example, at 12:00, the user sends an instruction to device A in bedroom A to continue playing music. The matched candidate control data include device A in bedroom A playing "Song A" at 18:00 the previous day, device B in bedroom B playing "Song A" at 20:00 the previous day, and device B in bedroom B playing "Song B" at 11:00 on the current day. It can be determined that the number of repetitions of playing "Song A" is "2", and the number of repetitions of playing "Song B" is "1". Therefore, the candidate control data of playing "Song A" is used as the target control parameter of device A, that is, device A will continue to play Song A next.
[0076] It should be noted that, in step S122, the specific implementation of how to generate the target control data based on the candidate control data can be designed according to actual conditions, and this application does not limit it here.
[0077] In some implementations, after generating the target control data based on the candidate control data, the following step S123 may also be performed.
[0078] S123, broadcasting the target control data to other home appliances, so that the other home appliances save the target control data.
[0079] It should be noted that the target control data includes but is not limited to the device control instructions issued by the user, the identity information of the user who issued the device control instructions, the intention information of the issued device control instructions, the current status information of the target device, the control parameters (such as the air speed, temperature, operating mode, etc. after the air conditioner is turned on), the device name of the target home appliance, the device type of the target home appliance, the generation time of the target control data, etc.
[0080] In some implementations, the information may be broadcast to other home appliances via a local area network.
[0081] Continue to see Figure 1 , S130, controlling the target home appliance to perform actions according to the target control data.
[0082] For example, when the device control instruction issued to air conditioner A is to turn on the power, and the target control data generated for air conditioner A includes "cooling, up and down swing wind, cooling temperature 26°C", then air conditioner A will perform actions according to the generated target control data to meet the user's usage habits.
[0083] In some implementations, the household appliance control method of the present application further includes the following S100 to S400:
[0084] S100, determining a timestamp of generation of each piece of control data in the reference control data.
[0085] S200 , determining control data whose timestamp is closest to the current time from the reference control data as control data to be analyzed.
[0086] S300, determining a household appliance corresponding to the control data to be analyzed as a device to be controlled.
[0087] S400: Determine whether to send a shutdown instruction to the device to be controlled based on the target control data and the control data to be analyzed.
[0088] For example, if the control data to be analyzed is that user A in bedroom A lets device A play "Song A", if user A in bedroom B sends a control instruction to device B to continue playing, and the target control data determined for device B is to play "Song A", then when device B plays "Song A", a close instruction can be sent to device A, so that device A can automatically stop playing Song A.
[0089] In the technical solutions provided in some embodiments of the present application, when the target home appliance receives a device control instruction issued by the user, it first obtains reference control data that at least includes control data generated historically by other home appliances; then generates target control data based on the device control instruction and the reference control data; and finally controls the target home appliance to perform actions according to the target control data. It can be seen that the technical solution of the present application will refer to the control data generated historically by other home appliances in the process of controlling the target home appliance to determine the best target control data for the operation of the target home appliance this time. It can be understood that in the present application, the control functions of home appliances are not independent of each other, but share the historical control data of other home appliances, so that the determined target control parameters are more in line with user preferences, thereby enhancing the user's interactive experience with home appliances.
[0090] Based on the same inventive concept, an embodiment of the present invention provides a home appliance control device, which can be used to execute the home appliance control method in the above embodiment of the present application. For details not disclosed in the embodiment of the present application, please refer to the embodiment of the home appliance control method in the above embodiment of the present application.
[0091] See also Figure 3 , shows a block diagram of a home appliance control device according to an embodiment of the present application.
[0092] like Figure 3 As shown, a home appliance control device 300 according to an embodiment of the present application is arranged in a target home appliance, and includes: an acquisition unit 301 , a generation unit 302 , and a control unit 303 .
[0093] Among them, the acquisition unit 301 is used to obtain reference control data in response to receiving a device control instruction issued by a user, and the reference control data at least includes control data generated historically by other household appliances; the generation unit 302 is used to generate target control data based on the device control instruction and the reference control data; the control unit 303 is used to control the target household appliance to perform actions according to the target control data.
[0094] In some embodiments of the present application, based on the above-mentioned scheme, the acquisition unit 301 is further used to: acquire the reference control data from the cache of the target home appliance; or acquire the reference control data from the cache of each other home appliance.
[0095] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 302 is further used to: determine at least one control data matching the device control instruction from the reference control data as candidate control data; and generate the target control data based on the candidate control data.
[0096] In some embodiments of the present application, based on the aforementioned scheme, the generating unit 302 is further used to: determine the intention information of the device control instruction; and determine at least one control data matching the intention information from the reference control data.
[0097] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 302 is also used to: determine the identity information of the user and the intention information of the device control instruction; and determine at least one control data that matches the identity information and the intention information from the reference control data.
[0098] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 302 is further used to: determine the timestamp of the generation of each control data in the candidate control data; and determine the control data whose timestamp is closest to the current time from the candidate control data as the target control data.
[0099] In some embodiments of the present application, based on the above-mentioned scheme, the generation unit 302 is further used to: determine the number of repetitions of each control data in the candidate control data; and determine the control data with the largest number of repetitions from the candidate control data as the target control data.
[0100] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 302 is also used to: after generating the target control data based on the device control instruction and the reference control data, broadcast the target control data to other household appliances so that other household appliances save the target control data.
[0101] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer program instruction is stored. The at least one computer program instruction is loaded and executed by a processor to implement the operations performed by the method described above.
[0102] Based on the same inventive concept, an embodiment of the present application also provides a household appliance.
[0103] See also Figure 4 , shows a schematic diagram of the structure of a household appliance according to an embodiment of the present application, wherein the household appliance includes one or more memories 404, one or more processors 402, and at least one computer program (computer program instruction) stored in the memory 404 and executable on the processor 402, and when the processor 402 executes the computer program, the method described above is implemented.
[0104] Among them, Figure 4 In the embodiment of the present invention, a bus architecture (represented by bus 400) is shown, which may include any number of interconnected buses and bridges, and bus 400 links various circuits including one or more processors represented by processor 402 and memory represented by memory 404. Bus 400 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 405 provides an interface between bus 400 and receiver 401 and transmitter 403. Receiver 401 and transmitter 403 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 402 is responsible for managing bus 400 and general processing, while memory 404 may be used to store data used by processor 402 when performing operations.
[0105] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that 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, which can be electrical or other forms.
[0107] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0108] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly or all or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store computer program instructions.
[0109] The above description is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims
1. A method for controlling a household appliance, characterized in that: The method is executed on a target home appliance, and the method includes: In response to receiving a device control instruction issued by a user, obtaining reference control data, wherein the reference control data at least includes control data generated historically by other household electrical devices; generating target control data based on the device control instruction and the reference control data; The target home appliance is controlled to perform an action according to the target control data.
2. The method according to claim 1, characterized in that The obtaining of reference control data comprises: Acquire the reference control data from the cache of the target home appliance; or, The reference control data is obtained from the cache of each other household appliance.
3. The method according to claim 1, characterized in that The generating target control data based on the device control instruction and the reference control data comprises: Determine at least one control data matching the device control instruction from the reference control data as candidate control data; The target control data is generated based on the candidate control data.
4. The method according to claim 3, characterized in that The determining, from the reference control data, at least one control data matching the device control instruction comprises: Determining the intention information of the device control instruction; At least one control data matching the intention information is determined from the reference control data.
5. The method according to claim 3, characterized in that: The determining, from the reference control data, at least one control data matching the device control instruction comprises: Determining the identity information of the user and the intention information of the device control instruction; At least one piece of control data matching the identity information and the intent information is determined from the reference control data.
6. The method according to claim 3, characterized in that The generating the target control data based on the candidate control data comprises: Determine a timestamp of generation of each piece of control data in the candidate control data; From the candidate control data, control data whose timestamp is closest to the current time is determined as the target control data.
7. The method according to claim 3, characterized in that The generating the target control data based on the candidate control data comprises: Determine the number of repetitions of each piece of control data in the candidate control data; The control data with the largest number of repetitions is determined from among the candidate control data as the target control data.
8. The method according to claim 1, characterized in that After generating the target control data based on the device control instruction and the reference control data, the method further includes: The target control data is broadcast to other home appliances so that the other home appliances save the target control data.
9. A household appliance control device, characterized in that: The device is arranged on a target household appliance, and comprises: an acquisition unit, configured to acquire reference control data in response to receiving a device control instruction issued by a user, wherein the reference control data at least includes control data generated historically by other household electrical appliances; A generating unit, configured to generate target control data based on the device control instruction and the reference control data; A control unit is used to control the target home appliance to perform an action according to the target control data.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the operations performed by the method according to any one of claims 1 to 8.
11. A household appliance, characterized in that: The method comprises one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the method according to any one of claims 1 to 8.