Fault prediction method, apparatus and device for intelligent household electrical appliance, and computer storage medium

By determining the linkage control device and weight parameters in smart home appliances, obtaining historical information and generating linkage control instructions, and combining user control instructions to predict faults, the problem of inaccurate fault positioning when multiple smart home appliances work together is solved, and the linkage of smart home appliances is realized Failure location and efficient prediction of faults in scenarios.

CN118938873APending Publication Date: 2024-11-12QINGDAO HAIGAO DESIGN & MANUFACTURING CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411148321.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When multiple smart home appliances work together, traditional fault positioning methods cannot accurately locate the fault problem, resulting in the smart home system being unable to determine the fault problem, affecting the user experience and the normal operation of the equipment.

Method used

By determining the equipment and weight parameters for smart home appliances that are linked to control and their weight parameters, obtaining historical operation information and linkage configuration information, generating multiple linkage control instructions, and combining user control instructions to predict faults, determining the fault prediction results and cause of faults, realizing smart home appliances Quick location of faults in linkage scenarios.

Benefits of technology

It avoids interference with fault location by non-single factors in multi-device linkage scenarios, improves the efficiency and accuracy of fault location and prediction, reduces faults caused by command conflicts or delays, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118938873A_ABST
    Figure CN118938873A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of smart home, and particularly relates to a fault prediction method, device and equipment of a smart home appliance and a computer storage medium. The method comprises the following steps: determining linkage equipment for performing linkage control on the intelligent household electrical appliance and a weight parameter of each linkage equipment; obtaining first historical operation information and linkage configuration information of the intelligent household electrical appliance, and second historical operation information of each linkage device; determining a plurality of linkage control instructions obtained by the intelligent household electrical appliance according to the second historical operation information and the linkage configuration information of each linkage device; and obtaining a plurality of user control instructions input by the user to the intelligent household electrical appliance, and performing fault prediction on the intelligent household electrical appliance based on the weight parameter of each linkage device, the plurality of linkage control instructions, the plurality of user control instructions and the first historical operation information to obtain a fault prediction result and a fault cause. According to the method, rapid fault positioning in an intelligent household electrical appliance linkage scene is realized, and the efficiency and accuracy of fault positioning and prediction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of smart home technology, and specifically relates to a fault prediction method, device, equipment and computer storage medium for smart home appliances. Background Art

[0002] Smart home refers to the use of advanced information technology and Internet of Things technology to connect various devices, facilities and systems in the home, and provide a more intelligent, convenient, safe and comfortable home life experience through intelligent control and management.

[0003] In the prior art, the smart home system involves many smart appliances and sensors. During long-term use, some smart appliances may malfunction, which will affect the user experience and may also cause inconvenience to the user's daily life. Therefore, it is very important to locate the faults of smart appliances. By accurately locating the faults, users can quickly understand the problem and carry out targeted repairs and maintenance to ensure the normal operation of home appliances. Existing smart home fault location methods cover multiple aspects such as data-driven, behavior analysis, and model prediction. Specifically, they include the use of sensor data to detect equipment faults and real-time monitoring of the operating status of smart appliances, thereby providing users with a more convenient and comfortable living environment.

[0004] As users' requirements for smart life continue to increase, more and more usage scenarios require multiple devices to work together; however, traditional fault location methods mainly diagnose a single smart appliance. When multiple smart appliances work together, multiple control instructions with the same execution content for the same smart appliance may have command conflicts, thereby masking potential faults of the smart appliance and making it impossible for the smart home system to determine the fault. Summary of the invention

[0005] The present application provides a fault prediction method, device, equipment and computer storage medium for smart home appliances, which are used to solve the defect that traditional fault location methods cannot accurately locate the fault problem when multiple smart home appliances work together.

[0006] In a first aspect, the present application provides a fault prediction method for a smart home appliance, comprising:

[0007] Determine at least one linkage device for linkage control of the smart home appliance, and a weight parameter of each linkage device, wherein the weight parameter is used to determine the instruction priority of different linkage devices;

[0008] Acquire first historical operation information of the smart home appliance in a historical period, and second historical operation information of each linkage device in the historical period;

[0009] Acquire linkage configuration information of the smart home appliance, wherein the linkage configuration information includes at least one trigger condition and a linkage operation of the smart home appliance under the trigger condition;

[0010] Determining, according to the second historical operation information of each linkage device and the linkage configuration information, a plurality of linkage control instructions for the smart home appliance within the historical period;

[0011] Acquire multiple user control instructions input by the user to the smart home appliance within the historical period;

[0012] Based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, fault prediction is performed on the smart home appliance to obtain a fault prediction result and a fault cause.

[0013] Optionally, based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, a fault prediction is performed on the smart home appliance to obtain a fault prediction result and a fault cause, including:

[0014] In the first historical operation information, determining sub-operation information corresponding to each linkage control instruction and each user control instruction;

[0015] Based on the weight parameters of each linkage device, fault prediction is performed on the smart home appliance according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction to obtain a fault prediction result and a fault cause.

[0016] Optionally, in the first historical operation information, determining sub-operation information corresponding to each linkage control instruction and each user control instruction includes:

[0017] Determine the command occurrence time of each linkage control command and each user control command;

[0018] For any one of the multiple linkage control instructions and the multiple user control instructions, determine a first instruction generation time of the control instruction and a second instruction generation time of a next control instruction of the control instruction;

[0019] In the first historical operation information, the historical operation information between the time when the first instruction was generated and the time when the second instruction was generated is determined as the sub-operation information corresponding to the control instruction.

[0020] Optionally, based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction, a fault prediction is performed on the smart home appliance to obtain a fault prediction result and a fault cause, including:

[0021] For any one of the multiple linkage control instructions and the multiple user control instructions, determining an operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, and determining an instruction execution result of the control instruction according to the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, the instruction execution result being normal execution or abnormal execution;

[0022] Determining an abnormal control instruction among the plurality of linkage control instructions and the plurality of user control instructions according to the instruction execution result of each control instruction and the weight parameter of each linkage device;

[0023] Determine, among the plurality of function modules in the smart home appliance, an abnormal function module corresponding to the abnormal control instruction;

[0024] The fault prediction result and the fault cause are determined according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions.

[0025] Optionally, determining the fault prediction result and the fault cause according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions includes:

[0026] If the number of the abnormal control instructions is 0, determining that the fault prediction result is a first prediction result, the first prediction result is used to indicate that the probability of the smart home appliance failing in a future period is less than or equal to a preset threshold;

[0027] If the number of the abnormal control instructions is greater than 0, determining the number of abnormal control instructions corresponding to each abnormal function module according to the abnormal function module corresponding to each abnormal control instruction, determining the target abnormal function module according to the number of abnormal control instructions corresponding to each abnormal function module, and determining the fault prediction result as the second prediction result according to the target abnormal function module;

[0028] Among them, the second prediction result is used to indicate that the probability of the target abnormal function module failing in the future time period is greater than or equal to the preset threshold, and the number of abnormal control instructions corresponding to the target abnormal function module is greater than or equal to the preset number.

[0029] Optionally, determining a plurality of linkage control instructions for the smart home appliance within the historical period according to the second historical operation information of each linkage device and the linkage configuration information includes:

[0030] For any linkage device, determining sub-linkage configuration information corresponding to the linkage device in the linkage configuration information, wherein the triggering condition in the sub-linkage configuration information is a condition satisfied by the linkage device;

[0031] generating at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information;

[0032] It is determined that the multiple linkage control instructions include at least one linkage control instruction corresponding to each linkage device.

[0033] Optionally, generating at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information includes:

[0034] Determining at least one target trigger condition satisfied by the linkage device in the sub-linkage configuration information according to the second historical operation information of the linkage device;

[0035] According to the linkage operation corresponding to each target trigger condition in the sub-linkage configuration information, at least one linkage control instruction is generated, and the linkage control instruction is used to control the smart home appliance to perform the corresponding linkage operation.

[0036] Optionally, obtaining a plurality of user control instructions input by the user to the smart home appliance within the historical period includes:

[0037] Performing instruction extraction processing on the first historical operation information according to a preset identifier to obtain a plurality of control instructions, wherein the control instructions include the preset identifier;

[0038] Determine the sending device corresponding to each control instruction;

[0039] Among the multiple control instructions, the control instructions corresponding to which the sending device is the preset device are determined as user control instructions, and the multiple user control instructions are obtained.

[0040] Optionally, the fault prediction result includes an identification of an abnormal functional module; and the method further includes:

[0041] Determine the fault repair information corresponding to the abnormal function module;

[0042] Sending the fault repair information and first prompt information to a preset device, where the first prompt information is used to indicate the fault of the abnormal function module;

[0043] When a target control instruction for controlling the abnormal function module of the smart home appliance is detected, a fault indicator light of the smart home appliance is controlled to light up or a buzzer of the smart home appliance is controlled to sound.

[0044] Optionally, generating fault repair information corresponding to the abnormal function module includes:

[0045] Determine the home appliance information of the smart home appliance, wherein the home appliance information includes the type and model of the home appliance;

[0046] Determine the abnormal operation information corresponding to the abnormal function module in the first historical operation information;

[0047] generating current abnormal information of the abnormal function module according to the home appliance information, the identifier of the abnormal function module and the abnormal operation information;

[0048] Determine target abnormal information corresponding to the current abnormal information among multiple reference abnormal information, and determine the fault repair information corresponding to the target abnormal information as the fault repair information corresponding to the abnormal function module; wherein, among the multiple reference abnormal information, the similarity between the current abnormal information and the target abnormal information is the highest.

[0049] In a second aspect, the present application provides a fault prediction device for a smart home appliance, comprising:

[0050] The determination module is used to determine at least one linkage device for linkage control of the smart home appliance, and a weight parameter of each linkage device, wherein the weight parameter is used to determine the instruction priority of different linkage devices.

[0051] The acquisition module is used to acquire the first historical operation information of the smart home appliance in a historical period and the second historical operation information of each linkage device in the historical period.

[0052] The acquisition module is further used to acquire linkage configuration information of the smart home appliance, wherein the linkage configuration information includes at least one trigger condition and the linkage operation of the smart home appliance under the trigger condition.

[0053] The determination module is further used to determine multiple linkage control instructions for the smart home appliance within the historical period according to the second historical operation information of each linkage device and the linkage configuration information.

[0054] The acquisition module is further used to acquire multiple user control instructions input by the user to the smart home appliance within the historical period.

[0055] A processing module is used to predict faults of the smart home appliance based on the weight parameters of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, and obtain a fault prediction result and a fault cause.

[0056] Optionally, the determination module is further used to determine sub-operation information corresponding to each linkage control instruction and each user control instruction in the first historical operation information.

[0057] The processing module is also used to perform fault prediction on the smart home appliance based on the weight parameters of each linkage device, according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction, to obtain the fault prediction result and the fault cause.

[0058] Optionally, the determination module is further used to determine the instruction occurrence time of each linkage control instruction and each user control instruction.

[0059] The determination module is further used to determine, for any one of the multiple linkage control instructions and the multiple user control instructions, a first instruction generation time of the control instruction and a second instruction generation time of the next control instruction of the control instruction.

[0060] The determination module is further used to determine, in the first historical operation information, the historical operation information between the time when the first instruction was generated and the time when the second instruction was generated as the sub-operation information corresponding to the control instruction.

[0061] Optionally, the determination module is also used to determine, for any one of the multiple linkage control instructions and the multiple user control instructions, an operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, and determine an instruction execution result of the control instruction based on the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, the instruction execution result being normal execution or abnormal execution.

[0062] The determination module is further used to determine an abnormal control instruction among the multiple linkage control instructions and the multiple user control instructions according to the instruction execution result of each control instruction and the weight parameter of each linkage device.

[0063] The determination module is further used to determine, among multiple function modules in the smart home appliance, an abnormal function module corresponding to the abnormal control instruction.

[0064] The determination module is further used to determine the fault prediction result and the fault cause according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions.

[0065] Optionally, if the number of abnormal control instructions is 0, the determination module is also used to determine that the fault prediction result is a first prediction result, and the first prediction result is used to indicate that the probability of the smart home appliance failing in a future time period is less than or equal to a preset threshold.

[0066] If the number of abnormal control instructions is greater than 0, the determination module is also used to determine the number of abnormal control instructions corresponding to each abnormal function module according to the abnormal function module corresponding to each abnormal control instruction, determine the target abnormal function module according to the number of abnormal control instructions corresponding to each abnormal function module, and determine the fault prediction result as the second prediction result according to the target abnormal function module; wherein the second prediction result is used to indicate that the probability of the target abnormal function module failing in the future time period is greater than or equal to the preset threshold, and the number of abnormal control instructions corresponding to the target abnormal function module is greater than or equal to the preset number.

[0067] Optionally, the determination module is further used to determine, for any linkage device, sub-linkage configuration information corresponding to the linkage device in the linkage configuration information, and the triggering condition in the sub-linkage configuration information is a condition satisfied by the linkage device.

[0068] The processing module is further configured to generate at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information.

[0069] The determining module is further configured to determine that the multiple linkage control instructions include at least one linkage control instruction corresponding to each linkage device.

[0070] Optionally, the determination module is further used to determine at least one target trigger condition satisfied by the linkage device in the sub-linkage configuration information according to second historical operation information of the linkage device.

[0071] The processing module is further used to generate at least one linkage control instruction according to the linkage operation corresponding to each target trigger condition in the sub-linkage configuration information, and the linkage control instruction is used to control the smart home appliance to perform the corresponding linkage operation.

[0072] Optionally, the processing module is further used to perform instruction extraction processing on the first historical operation information according to a preset identifier to obtain multiple control instructions, and the control instructions include the preset identifier.

[0073] The determination module is also used to determine the sending device corresponding to each control instruction.

[0074] The determination module is further used to determine, among the multiple control instructions, a control instruction whose corresponding sending device is a preset device as a user control instruction, to obtain the multiple user control instructions.

[0075] Optionally, the determination module is also used to determine the fault repair information corresponding to the abnormal function module.

[0076] The processing module is further used to send the fault repair information and first prompt information to a preset device, where the first prompt information is used to indicate the fault of the abnormal function module.

[0077] The processing module is also used to control the fault indicator light of the smart home appliance to light up or control the buzzer of the smart home appliance to sound when a target control instruction for controlling the abnormal function module of the smart home appliance is detected.

[0078] Optionally, the determination module is further used to determine the home appliance information of the smart home appliance, where the home appliance information includes the home appliance type and home appliance model.

[0079] The determination module is further used to determine abnormal operation information corresponding to the abnormal function module in the first historical operation information.

[0080] The processing module is further used to generate current abnormal information of the abnormal function module according to the home appliance information, the identifier of the abnormal function module and the abnormal operation information.

[0081] The determination module is also used to determine the target abnormality information corresponding to the current abnormality information among multiple reference abnormality information, and determine the fault repair information corresponding to the target abnormality information as the fault repair information corresponding to the abnormal function module; wherein, among the multiple reference abnormality information, the similarity between the current abnormality information and the target abnormality information is the highest.

[0082] In a third aspect, the present application provides a fault prediction device for a smart home appliance, comprising:

[0083] Memory;

[0084] processor;

[0085] Wherein, the memory stores computer-executable instructions;

[0086] The processor executes the computer-executable instructions stored in the memory to implement the fault prediction method for smart home appliances as described in the first aspect and various possible implementation methods of the first aspect.

[0087] In a fourth aspect, the present application provides a computer storage medium having computer execution instructions stored thereon, wherein the computer execution instructions are executed by a processor to implement the fault prediction method for smart home appliances as described in the first aspect and various possible implementation methods of the first aspect.

[0088] In a fifth aspect, the present application provides a program product, including a computer program, which, when executed by a processor, implements the fault prediction method for smart home appliances as described above.

[0089] The fault prediction method for smart home appliances provided in the present application is by determining at least one linkage device for linkage control of the smart home appliances and a weight parameter of each linkage device; obtaining first historical operation information and linkage configuration information of the smart home appliances in a historical period, and second historical operation information of each linkage device in the historical period; determining, for any linkage device, sub-linkage configuration information corresponding to the linkage device; generating multiple linkage control instructions based on the second historical operation information and the sub-linkage configuration information; performing instruction extraction processing on the first historical operation information according to a preset identifier to obtain multiple control instructions, and determining the sending device corresponding to each control instruction, and determining the control instructions whose corresponding sending devices are preset devices among the multiple control instructions as user control instructions to obtain multiple user control instructions; in the first historical operation information, respectively determining the sub-operation information corresponding to each linkage control instruction and each user control instruction, and performing fault prediction on the smart home appliance according to the obtained sub-operation information, multiple user control instructions and multiple linkage control instructions, and the weight parameter of each linkage device, obtaining a fault prediction result and a fault cause. This method realizes rapid fault location in the scenario of smart home appliance linkage, avoids the interference of non-single factors on fault location in the scenario of multi-device linkage, promotes the collaboration between various smart devices in smart homes, makes full use of the correlation information between smart devices, improves the efficiency and accuracy of fault location and prediction, and can also improve the response speed and accuracy of the system, reduce faults caused by command conflicts or delays, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0091] Figure 1 It is a scenario diagram of the fault prediction method of smart home appliances provided by the present application;

[0092] Figure 2 This is a schematic diagram of the process of the fault prediction method of smart home appliances provided by this application Figure 1 ;

[0093] Figure 3This is a schematic diagram of the process of the fault prediction method of smart home appliances provided by this application Figure 2 ;

[0094] Figure 4 This is a schematic diagram of the process of the fault prediction method of smart home appliances provided by this application Figure 3 ;

[0095] Figure 5 It is a structural schematic diagram of a fault prediction device for smart home appliances provided in the present application;

[0096] Figure 6 It is a structural schematic diagram of a fault prediction device for smart home appliances provided in this application.

[0097] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0098] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0099] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.

[0100] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0101] Smart home refers to the use of advanced information technology and Internet of Things technology to connect various devices, facilities and systems in the home, and provide a more intelligent, convenient, safe and comfortable home life experience through intelligent control and management.

[0102] In the prior art, the smart home system involves numerous smart appliances and sensors. During long-term use, some smart appliances may malfunction, thereby affecting the user experience and causing inconvenience to the user's daily life.

[0103] Therefore, fault location of smart home systems is crucial to improving user experience and ensuring the normal operation of equipment. By accurately locating the fault, users can quickly understand the problem, perform targeted repairs and maintenance, and ensure the normal operation of home equipment.

[0104] Existing smart home fault location methods cover multiple aspects such as data-driven, behavior analysis, and model prediction. Specifically, they include the use of sensor data to detect equipment faults and real-time monitoring of the operating status of smart home appliances, thereby providing users with a more convenient and comfortable living environment.

[0105] As users' requirements for smart life continue to increase, more and more usage scenarios require multiple devices to work together; however, traditional fault location methods mainly diagnose a single smart appliance. When multiple smart appliances work together, multiple control instructions with the same execution content for the same smart appliance may have command conflicts, thereby masking potential faults of the smart appliance and making it impossible for the smart home system to determine the fault.

[0106] In response to the above problems, the present application provides a fault prediction method for smart home appliances.

[0107] First, the implementation scenarios involved in this application are described.

[0108] In smart homes, the use of smart devices brings users many convenient and intelligent experiences. Smart devices can be connected to the Internet to achieve remote control and monitoring, allowing users to control home appliances, lighting, security systems, etc. through mobile phones or other devices anytime and anywhere; smart devices can also achieve automatic control through sensors and artificial intelligence technology, and intelligently adjust the home environment according to user habits and needs to improve the comfort and convenience of life; in addition, smart devices can also achieve interconnection between different devices, realize intelligent scene linkage, and allow home devices to work together to improve the overall level of intelligence.

[0109] In the smart home scenario, since multiple smart devices are involved and in the process of interconnecting and using multiple smart devices, there may be compatibility issues between smart devices of different brands, models or operating systems, resulting in abnormalities in data transmission, communication or control, thereby causing failures; in addition, the causes of failures in the process of interconnecting and using multiple smart devices may also involve network problems, software problems, hardware failures, power supply problems and other aspects. Figure 1is a schematic diagram of a scenario of a fault prediction method for smart home appliances provided in this application, such as Figure 1 As shown, the smart air conditioner 101 is connected in communication with the smart lighting device 102, and the smart air conditioner 101 is connected in communication with the control device 103; the smart air conditioner 101 can receive the control information sent from the control device 103, and the control information can reflect the use needs of the current user, and the smart air conditioner 101 adjusts its own working state based on the control information; the smart air conditioner 101 can also receive the control information sent from the smart lighting device 102, and the control information can reflect the linkage operation performed by the smart air conditioner 101 and the smart lighting device 102, so as to realize the linkage control of the smart lighting device 102 on the smart air conditioner 101; multiple smart devices are in the same smart home control system. When multiple smart devices are used in linkage, the smart home control system can control the transmission and execution of the corresponding control information, and determine the operation status of the corresponding control information, as well as whether the smart device fails during the linkage use. If so, the fault information is accurately located, so as to realize the fault location in the linkage use scenarios of multiple smart devices. The smart home control system involved in the present application can, for example, be a smart home control system provided with a fault location module.

[0110] It can be understood that there are many smart devices in a smart home, such as: smart fans, smart alarms, smart door locks, smart speakers, smart kitchens, smart mirrors and smart curtains; in the actual use of smart homes, different smart devices work together to achieve a variety of collaborative working situations; when a failure occurs when multiple smart devices work together, the smart home control system uses the same principle to locate the fault, and the specific locating operation is also the same; the following embodiment specifically describes the collaborative work of a smart air conditioner and a smart lighting device, and the fault locating of the smart air conditioner during the collaborative work.

[0111] The fault prediction method for smart home appliances provided in the present application can determine multiple control instructions for controlling smart home appliances in a historical period (control instructions for controlling the smart home appliances by linkage devices and control instructions input by users), and combine the multiple control instructions with the actual operation of the smart home appliances in the historical period to determine whether the smart home appliances are operating in accordance with the multiple control instructions, and then determine whether the smart home appliances have faults, thereby realizing fault prediction for smart home appliances. The method realizes rapid fault location in the linkage scenario of smart home appliances, avoids interference of non-single factors on fault location in the linkage scenario of multiple devices, promotes the coordination between various smart devices in smart homes, makes full use of the correlation information between smart devices, improves the efficiency and accuracy of fault location and prediction, and can also improve the response speed and accuracy of the system, reduce faults caused by command conflicts or delays, and improve the user experience.

[0112] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0113] Figure 2 Schematic diagram of the process of the fault prediction method of smart home appliances provided in the embodiment of the present application Figure 1 The execution subject of this embodiment may be, for example, a smart home system provided with a fault location module. Figure 2 As shown, the fault prediction method of the smart home appliance provided in this embodiment includes:

[0114] S201: Determine at least one linkage device for linkage control of smart home appliances, and a weight parameter of each linkage device.

[0115] Among them, the linkage device is used to indicate multiple smart devices in the same smart home system that are connected and collaborated with smart appliances through the Internet or other communication methods; the weight parameter is used to determine the command priority of different linkage devices.

[0116] It can be understood that there are multiple smart devices in the smart home control system, and data can be transmitted between the multiple smart devices for linkage operations, that is, other smart devices in the same smart home system as the smart home appliance can perform linkage control on the smart home appliance and control the smart home appliance to perform corresponding linkage operations; in addition, the smart home control system can serve as the center of data transmission and linkage operation to coordinate the communication and control between various smart devices; among which, the weight parameter is a parameter pre-stored in the smart home control system and used to determine the priority of the control instruction; in the scenario of multi-device linkage, if the smart home appliance receives the same control instruction from multiple linkage devices (the corresponding smart home appliances need to execute the same content), the only control instruction that the smart home appliance needs to execute can be determined based on the instruction priority of the multiple control instructions obtained at that time; for different types of smart home appliances, different linkage devices have different control effects on the smart home appliances, so for multiple linkage devices, the weight parameters of the smart home appliance are different.

[0117] The smart home control system can identify other smart devices in the current system that operate in conjunction with the smart home appliance. When predicting a fault for any smart device in the control system, the corresponding smart device will be used as the main device for fault prediction at that time. The control system can be used to screen the smart devices that perform linkage control on the main device, thereby determining at least one other smart device that operates in conjunction with the smart home appliance, that is, obtaining the linkage device that performs linkage control on the smart home appliance at that time, and obtaining the weight parameters of the smart home appliance that performs fault prediction at that time.

[0118] The number of linkage devices for linkage control of smart home appliances can be multiple or one; for example, the linkage device can be: a smart lighting device. This application does not impose any special restrictions on the number of linkage devices.

[0119] S202: Acquire first historical operation information of the smart home appliance in a historical period, and second historical operation information of each linkage device in the historical period.

[0120] S203: Acquire linkage configuration information of the smart home appliance.

[0121] Among them, the operation information is used to indicate the various data and information generated by the smart home appliance during its operation, and the linkage configuration information is used to determine whether the smart home appliance needs to perform various linkage operations when it receives control information sent by other devices.

[0122] It is understandable that the execution subject of this step is the smart home control system, which can obtain and store various data and information generated by different smart devices during operation in real time, that is, store the operation information of different smart devices, and the operation information of multiple different smart devices can be stored separately according to the types of different smart devices. This application does not impose special restrictions on the storage of operation information.

[0123] The linkage configuration information includes at least one trigger condition and the linkage operation of the smart home appliance under the trigger condition; wherein the trigger condition is pre-set control information, and when the various data information obtained by the smart home appliance meets the trigger condition, the smart home appliance performs the linkage operation corresponding to the trigger condition. For example, if the trigger condition is: the indoor temperature is greater than T1, the linkage operation corresponding to the smart air conditioner is: turn on the cooling mode; when the real-time indoor temperature obtained by the indoor temperature sensor of the smart air conditioner is T2, and T2>T1, the smart air conditioner performs the linkage operation: turn on the cooling mode.

[0124] Acquire first historical operation information of the smart home appliance within a historical period, and filter the multiple operation information stored in the control system according to the currently determined linkage device to obtain second historical operation information of each linkage device within the historical period; acquire multiple trigger conditions pre-set in the smart home appliance, and linkage operations corresponding to the trigger conditions, and determine the multiple trigger conditions and linkage operations as linkage configuration information of the smart home appliance.

[0125] For example, if the smart home appliance is a smart air conditioner, the first historical operation information currently obtained may be: start operation, obtain indoor temperature as T2, turn on cooling mode, turn on strong mode, turn off strong mode, turn on sleep mode; the linkage device linked to the smart air conditioner is: smart lighting device, and the corresponding second historical operation information is: "Turn on lighting"; the linkage configuration information may include: "If the indoor temperature is greater than T1, turn on the cooling mode" and "If the smart lighting device is turned on, turn on the smart air conditioner."

[0126] S204: Determine a plurality of linkage control instructions for the smart home appliance within the historical period according to the second historical operation information of each linkage device and the linkage configuration information.

[0127] Among them, the linkage control instruction is used to control the smart home appliances to perform corresponding linkage operations.

[0128] It can be understood that there is a correlation between the operating information and the linkage configuration information. The trigger conditions in the linkage configuration information can find matching data information in the operating information. Then, according to the linkage operation corresponding to the trigger conditions, the data information corresponding to the linkage operation can be found in the operating information of the smart device that performs the linkage operation.

[0129] According to the second historical operation information of each linkage device and the linkage configuration information of the smart home appliance currently obtained, the second historical operation information and the linkage configuration information are analyzed and processed, that is, the information corresponding to the trigger condition in the linkage configuration information is matched with the second historical operation information. By comparing the data information of the two, it can be determined whether the linkage device performs linkage control on the smart home appliance, and the obtained linkage control information is determined as multiple linkage control instructions of the linkage device to the smart home appliance within the historical period.

[0130] For example, the linkage device is an intelligent lighting device, and the corresponding second historical operation information is: "Turn on the lighting"; the linkage configuration information of the intelligent air conditioner includes: "Trigger condition: indoor temperature is greater than T1, linkage operation: turn on the cooling mode" and "Trigger condition: intelligent lighting device is turned on, linkage operation: turn on the intelligent air conditioner"; by comparing the second historical information corresponding to the intelligent lighting device with the linkage configuration information of the intelligent air conditioner, it can be obtained that the information that matches the linkage configuration information and the operation information of the intelligent lighting device is: "Trigger condition: intelligent lighting device is turned on" and "Turn on the lighting", then the linkage control instruction of the intelligent lighting device to the intelligent air conditioner during the historical period is: "Turn on the intelligent air conditioner".

[0131] S205: Acquire multiple user control instructions input by the user to the smart home appliance during the historical period.

[0132] Among them, the user control instruction is used to instruct the user to send control information to the smart home appliance through the corresponding control device.

[0133] It is understandable that different types of smart devices have corresponding control devices, through which users can adjust the operating status of smart devices; the control device can send control information to smart appliances to reflect the user's usage needs, so that smart appliances can run corresponding modes or adjust different smart appliance control parameters according to user needs; the control devices of different smart appliances are also different, but in essence they all provide users with control means to directly control the corresponding smart appliances; in addition, if the number of linkage devices that control smart appliances is greater than one, the smart appliance is controlled by multiple linkage devices. At this time, when the execution content corresponding to the control instructions sent by different linkage devices is consistent, the execution priority of different control instructions can be determined according to the weight parameters corresponding to the smart appliance stored in the smart home control system, and the control instruction with the highest priority can be executed. This application does not impose any special restrictions on the control device of smart appliances.

[0134] The control device can directly feedback the user's usage needs, that is, the user actively sends corresponding control information to the smart home appliance through the control device, and the multiple control information sent by the control device to the smart home appliance within a historical period is determined as multiple user control instructions received by the smart home appliance.

[0135] For example, the control device of a smart air conditioner is an air conditioning control device, and a user can control the smart air conditioner to maintain different operating states by operating on the air conditioning control device; the control information sent by the air conditioning control device to the smart air conditioner is: "Turn on strong mode, turn off strong mode, turn on sleep mode", that is, the multiple user control instructions input by the user to the smart air conditioner during the historical period are: "Turn on strong mode, turn off strong mode, turn on sleep mode".

[0136] S206: Based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, fault prediction is performed on the smart home appliance to obtain a fault prediction result and a fault cause.

[0137] It can be understood that there is a correlation between the control instruction and the first historical operation information. The control instruction is the instruction information that the smart home appliance receives and needs to be executed during the historical period, and the first historical operation information is the data and information generated during the operation of the smart home appliance during the historical period. When the smart home appliance receives the linkage control instruction sent by the linkage device and the user control instruction sent by the user through the control device, the smart home appliance performs corresponding operations according to different control instructions, and in the process of performing the corresponding operations, the smart home appliance generates operation information corresponding to the control instruction, which is acquired and stored by the smart home control system. In addition, when the linkage control instruction conflicts with the user control instruction, the priority of the linkage control instruction is higher than the priority of the user control instruction. Therefore, by judging whether the smart home appliance executes the control instruction sent by the linkage device and the user within any time period, it can be determined whether the smart home appliance has a fault, thereby realizing fault prediction of the smart home appliance.

[0138] After determining that the linkage device sends multiple linkage control instructions to the smart home appliance, and the user sends multiple user control instructions to the smart home appliance through the control device, the first historical operation information is screened and processed according to the multiple linkage control instructions and the multiple user control instructions, and the weight parameters of the corresponding control instructions, so as to determine whether there is operation information corresponding to the multiple control instructions, so as to realize fault prediction of the smart home appliance. That is, if there is no data information corresponding to the multiple control instructions in the first historical operation information, it indicates that the control instructions sent by the multiple linkage devices have not been executed by the smart home appliance. Although the smart home appliance has received the control instructions, it has not executed the control instructions. At this time, it can be determined that the smart home appliance has a fault; if there is data information corresponding to the multiple control instructions in the first historical operation information, according to the weight parameters of the linkage device at that time, Determine the priority of the corresponding control instruction; if the priority of the control instruction in the first historical operation information is the highest priority among the control instructions obtained this time, it indicates that the smart home appliance receives and executes the corresponding control instruction. At this time, it can be determined that there is no fault in the smart home appliance, and there is a corresponding user control instruction that has not been executed, and the corresponding fault cause is an instruction conflict; if the priority of the control instruction in the first historical operation information is not the highest priority among the control instructions obtained this time, and other control instructions with a lower priority than the control instruction are executed, it indicates that the smart home appliance can receive instructions normally, but cannot execute the control instruction with the highest priority. At this time, it can be determined that there is no fault in the operation of the smart home appliance itself, and there is a fault in the corresponding linkage control instruction, and the corresponding fault cause is that there is a fault in the functional module corresponding to the linkage device in the smart home system.

[0139] For example, the first historical operation information of the smart air conditioner is: start operation, obtain indoor temperature as T2, turn on cooling mode, turn on strong mode, turn off strong mode, turn on sleep mode; the linkage control instruction of the smart lighting device to the smart air conditioner during the historical period is: turn on the smart air conditioner, and the multiple user control instructions input by the user to the smart air conditioner during the historical period are: "turn on the smart air conditioner, turn on strong mode, turn off strong mode, turn on sleep mode"; the first historical operation information is screened and processed according to the linkage control instruction and the user control instruction, and the operation information corresponding to the linkage control instruction or the user control instruction is determined from the first historical operation information, and the screening result is: the linkage control instruction "turn on the smart air conditioner" corresponds to the first historical operation information "start operation", and the user control instruction "turn on strong mode, turn off strong mode, turn on sleep mode" corresponds to the first historical operation information. If the linkage control instruction "turn on the smart air conditioner" corresponds to the row information "turn on strong mode, turn off strong mode, turn on sleep mode", and the priority of the linkage control instruction "turn on the smart air conditioner" is higher than the priority of the user control instruction "turn on the smart air conditioner", at this time, it can be determined that all control instructions obtained by the smart air conditioner have been executed, and the smart air conditioner does not have a fault at that time, and the fault prediction result can be: there is no fault; if the user control instruction "turn on the smart air conditioner" is executed and the linkage control instruction "turn on the smart air conditioner" is not executed, it means that the smart air conditioner can operate normally and there is no fault in the smart air conditioner. At this time, it can be determined that there is a fault in the module between the smart home system controlling the smart air conditioner and the smart lighting device; if the linkage control instruction and the user control instruction do not have corresponding operation information in the first historical operation information, it means that the smart air conditioner has a fault. At this time, the fault prediction result can be determined as: there is a fault.

[0140] The fault prediction method of smart home appliances provided in this embodiment determines at least one linkage device for linkage control of the smart home appliances, and the weight parameter of each linkage device; obtains the first historical operation information of the smart home appliances in the historical period, and the second historical operation information of each linkage device in the historical period; obtains the linkage configuration information of the smart home appliances, and determines multiple linkage control instructions for the smart home appliances in the historical period according to the second historical operation information and linkage configuration information of each linkage device; obtains multiple user control instructions input by the user to the smart home appliances in the historical period, and predicts the fault of the smart home appliances based on the weight parameter of each linkage device, multiple linkage control instructions, multiple user control instructions and the first historical operation information, and obtains the fault prediction result and the fault cause. The method realizes the rapid fault location in the linkage scenario of smart home appliances, avoids the interference of non-single factors on fault location in the linkage scenario of multiple devices, improves the efficiency and accuracy of fault location and prediction, and can also improve the response speed and accuracy of the system, reduce the faults caused by command conflicts or delays, and improve the user experience.

[0141] Figure 3 Schematic diagram of the process of the fault prediction method of smart home appliances provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, in this embodiment Figure 2 Based on the embodiment, the fault prediction method of the smart home appliance is described in detail. The fault prediction method of the smart home appliance shown in this embodiment includes:

[0142] S301: Determine at least one linkage device for linkage control of smart home appliances, and a weight parameter of each linkage device.

[0143] S302: Acquire first historical operation information of the smart home appliance in a historical period, and second historical operation information of each linkage device in the historical period.

[0144] S303: Acquire linkage configuration information of the smart home appliance.

[0145] Steps S301-S303 are similar to the above-mentioned steps S201-S203 and will not be described in detail here.

[0146] S304: For any linkage device, determine sub-linkage configuration information corresponding to the linkage device in the linkage configuration information.

[0147] S305: Generate at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information.

[0148] Among them, the sub-linkage configuration information is used to determine that the smart home appliance needs to perform various linkage operations when receiving control information sent by the linkage device, and the triggering conditions in the sub-linkage configuration information are the conditions satisfied by the linkage device.

[0149] During the process of linkage operation between the smart home appliance and the linkage device, the linkage device can send control information to the smart home appliance to control the smart home appliance to perform corresponding operations. Therefore, the control information sent by the linkage device is consistent with the data information of the linkage operation in the linkage configuration information, and the trigger condition in the linkage configuration information may include the operation information executable by the linkage device. This application does not impose any special restrictions on the type of trigger conditions.

[0150] For any linkage device that is linked with the smart home appliance, the linkage configuration information is filtered and processed according to the currently acquired linkage device, and the linkage configuration information related to the linkage device is determined, and the linkage configuration information is determined as sub-linkage configuration information; according to the currently determined sub-linkage configuration information, the second historical operation information of the linkage device is filtered and processed to obtain data information corresponding to the trigger condition in the sub-linkage configuration information within the historical period. At this time, the linkage device generates at least one linkage control instruction corresponding to the linkage device according to the linkage operation corresponding to the trigger condition.

[0151] For example, if the linkage device currently linked to the smart air conditioner is a smart lighting device, and the linkage configuration information of the smart air conditioner includes: "Trigger condition: indoor temperature is greater than T1, linkage operation: turn on cooling mode" and "Trigger condition: smart lighting device is turned on, linkage operation: turn on smart air conditioner"; by filtering and processing the linkage configuration information, the sub-linkage configuration information corresponding to the smart lighting device can be obtained as "Trigger condition: smart lighting device is turned on, linkage operation: turn on smart air conditioner", wherein the trigger condition is the operating information of the smart lighting device, and the linkage operation is the control information sent by the smart lighting device to the smart air conditioner, that is, the essence of the linkage operation is the linkage control instruction sent by the smart lighting device to the smart air conditioner.

[0152] Preferably, generating at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information includes:

[0153] According to the second historical operation information of the linkage device, at least one target trigger condition satisfied by the linkage device is determined in the sub-linkage configuration information; and according to the linkage operation corresponding to each target trigger condition in the sub-linkage configuration information, the at least one linkage control instruction is generated.

[0154] The target trigger condition is used to indicate the control information that the linkage device actively executes.

[0155] It can be understood that the trigger conditions in the sub-linkage configuration information are all related to the linkage devices, the linkage operations are all related to the smart home appliances, and the target trigger conditions are the control information that has been executed by the linkage devices; the number of target trigger conditions is related to the number of sub-linkage configuration information related to the linkage devices in the linkage configuration information of the smart home appliances; the second historical operation information of the linkage devices is screened to determine the executed sub-linkage configuration information, and the trigger conditions corresponding to the executed sub-linkage configuration information are determined as the target trigger conditions, therefore, the number of target trigger conditions is less than or equal to the number of the sub-linkage configuration information.

[0156] According to the second historical operation information of the linkage device, the second historical operation information is compared with the sub-linkage configuration information to obtain sub-linkage configuration information that is consistent with the comparison, and the sub-linkage configuration information includes a trigger condition and a linkage operation corresponding to the trigger condition; the trigger condition is determined as the target trigger condition of the linkage device; according to the target trigger condition determined this time, in the sub-linkage configuration information, the linkage operation corresponding to each target trigger condition is screened, and the linkage operation is parsed to generate a linkage control instruction that the smart home appliance needs to execute, and the number of the linkage control instructions is consistent with the number of the target trigger conditions.

[0157] For example, the sub-configuration information of a smart air conditioner includes: "Trigger condition: the smart lighting device is turned on, linkage operation: turn on the smart air conditioner" and "Trigger condition: the smart lighting device is turned off, linkage operation: turn off the smart air conditioner"; the second historical operation information of the smart lighting device obtained this time is: "Turn on the lighting"; by comparing the sub-configuration information with the second historical operation information, it can be determined that the "Trigger condition: the smart lighting device is turned on" is consistent with the "Turn on the lighting" in the second historical operation information, then the "Trigger condition: the smart lighting device is turned on" is determined as the target trigger condition, and the corresponding linkage operation is "Turn on the smart air conditioner", and the linkage operation is parsed and processed to generate a linkage control instruction that needs to be executed by the smart air conditioner, and the linkage control instruction is "Turn on the smart air conditioner".

[0158] S306: Determine that the multiple linkage control instructions include at least one linkage control instruction corresponding to each linkage device.

[0159] It is understandable that in a smart home system, there are multiple smart devices that perform linkage control on smart home appliances, and different types of smart devices can generate different linkage control instructions based on different linkage configuration information.

[0160] For example, the linkage devices currently linked to the smart air conditioner include: smart lighting devices, and the corresponding linkage control instructions are: "Turn on the smart air conditioner"; if the linkage devices linked to the smart air conditioner include: smart lighting devices and smart curtains, the corresponding linkage control instructions are: smart lighting devices: "Turn on the smart air conditioner" and smart curtains: "Turn on fresh air mode".

[0161] S307: Perform instruction extraction processing on the first historical operation information according to a preset identifier to obtain multiple control instructions.

[0162] S308: Determine the sending device corresponding to each control instruction.

[0163] S309: Determine, among the multiple control instructions, a control instruction corresponding to a sending device that is a preset device as a user control instruction, and obtain the multiple user control instructions.

[0164] Among them, the control instruction includes a preset identifier, and the preset identifier is used to distinguish the control instructions sent by different linkage devices; the sending device is used to indicate the smart device that performs linkage control on the smart home appliance, and the preset device is used to send the user's usage requirements to the smart home appliance.

[0165] It can be understood that the preset identifier is pre-stored in the smart home appliance. By distinguishing the preset identifier in the first historical operation information, the sending device corresponding to the historical operation information can be identified, that is, the preset device corresponding to the historical operation information can be determined.

[0166] The first historical operation information includes various data and information generated by the operation of the smart home appliance in a historical period, that is, the first historical operation information includes linkage control instructions sent by the linkage device to the smart home appliance and user control instructions actively sent by the user to the smart home appliance; multiple preset identifiers stored in the smart home appliance are obtained, and instruction extraction processing is performed on the first historical operation information according to different preset identifiers to obtain multiple control instructions. Different control instructions correspond to different preset identifiers, and the sending device corresponding to each control instruction can be determined; control instructions whose corresponding sending devices are preset devices among the multiple control instructions are determined as user control instructions, thereby obtaining multiple user control instructions.

[0167] For example, the first historical operation information currently obtained may be: start operation, obtain indoor temperature as T2, turn on cooling mode, turn on strong mode, turn off strong mode, turn on sleep mode; the preset identifiers stored in the smart air conditioner include: identifier A-smart lighting device, identifier B-air conditioning control device, identifier C-smart curtains; according to different preset identifiers, instructions are extracted for the first historical operation information, and the results are: identifier A-start operation, identifier B-turn on strong mode, identifier B-turn off strong mode, identifier B-turn on sleep mode, and the sending device corresponding to identifier A is the smart lighting device, and the sending device corresponding to identifier B is the air conditioning control device; since the preset device corresponding to the smart air conditioner is the air conditioning control device, the control instructions among multiple control instructions whose corresponding sending devices are air conditioning control devices are determined as user control instructions, and multiple user control instructions can be obtained. At this time, the user control instructions obtained by the smart air conditioner are: turn on strong mode, turn off strong mode, and turn on sleep mode.

[0168] S310: Determine, in the first historical operation information, sub-operation information corresponding to each linkage control instruction and each user control instruction.

[0169] Among them, the sub-operation information is used to indicate the data and information generated by the smart home appliance when executing the linkage control command or the user control command.

[0170] It can be understood that the essence of the sub-operation information is the data and information generated by the smart home appliance during the actual operation process. Compared with the first historical operation information, the difference is that the first historical operation information is all the data and information generated by the operation of the smart home appliance during the historical period, while the sub-operation information divides the first historical operation information according to different linkage devices, and each sub-operation information has a unique corresponding linkage device.

[0171] For example, the first historical operation information currently obtained is: start operation, obtain indoor temperature as T2, turn on cooling mode, turn on strong mode, turn off strong mode, turn on sleep mode, the linkage control instruction is: start operation, the user control instruction is: turn on strong mode, turn off strong mode, turn on sleep mode, the sub-operation information corresponding to the linkage control instruction is "start operation", and the sub-operation information corresponding to the user control instruction is "turn on strong mode, turn off strong mode, turn on sleep mode".

[0172] S311: Based on the weight parameters of each linkage device, according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction, fault prediction is performed on the smart home appliance to obtain a fault prediction result and a fault cause.

[0173] It can be understood that for any smart home appliance, the smart home appliance may be controlled by other devices in linkage, or it may be controlled manually by the user; therefore, as long as the smart home appliance receives the corresponding control instruction, the smart home appliance should operate according to the control instruction; if the smart home appliance does not operate according to the control instruction obtained this time, it means that the smart home appliance may have failed or is about to fail; if the linkage device has sent a linkage control instruction, but there is no corresponding operation information in the sub-operation information of the smart home appliance, based on the first historical operation information of the smart home appliance, other linkage control instructions that are consistent with the execution content of the linkage control instruction can be matched in the sub-operation information of other linkage devices. At this time, if the priority of the other linkage control instruction is higher than that of the linkage control instruction, it indicates that the smart home appliance does not have a fault, and the reason for the fault of the linkage control instruction that was not executed this time is an instruction conflict; if the priority of the other linkage control instruction is lower than that of the linkage control instruction, it indicates that the smart home appliance does not have a fault, the linkage device corresponding to the linkage control instruction may have a fault, or the functional module corresponding to the linkage device in the smart home system has a fault. In order to predict faults of smart home appliances, it is possible to determine whether the smart home appliance has executed corresponding control instructions within the corresponding historical period based on multiple linkage control instructions and multiple user control instructions received by the smart home appliance within the historical period, as well as sub-operation information corresponding to each linkage control instruction and sub-operation information corresponding to each user control instruction.

[0174] Based on the command information received by the smart home appliance, the priority of the corresponding control command, and the information recorded during the actual operation of the smart home appliance, it is determined whether the corresponding command information is executed and whether the executed control command belongs to the highest priority, thereby realizing fault prediction of the smart home appliance and obtaining the fault prediction result of the smart home appliance and the corresponding fault cause.

[0175] For example, the first historical operation information of the smart air conditioner is: start operation, obtain indoor temperature as T2, turn on cooling mode, turn on strong mode, turn off strong mode, turn on sleep mode; the linkage control instruction of the smart lighting device to the smart air conditioner during the historical period is: turn on the smart air conditioner, and the multiple user control instructions input by the user to the smart air conditioner during the historical period are: "turn on the smart air conditioner, turn on strong mode, turn off strong mode, turn on sleep mode"; in the first historical operation information, the linkage sub-operation information corresponding to the linkage control instruction is: start operation, and the user sub-operation information corresponding to the user control instruction is: turn on strong mode, turn off strong mode, turn on sleep mode, and the priority of the linkage control instruction "turn on the smart air conditioner" is higher than the priority of the user control instruction "turn on the smart air conditioner"; if the linkage sub-operation information and the user sub-operation information can identify the operation corresponding to the user control instruction and the linkage control instruction If the linkage sub-operation information and the user sub-operation information show that the user control instruction "turn on the smart air conditioner" is executed and the linkage control instruction "turn on the smart air conditioner" is not executed, it indicates that the smart air conditioner can operate normally and there is no fault in the smart air conditioner. At this time, it can be determined that there is a fault in the module between the smart home system controlling the smart air conditioner and the smart lighting device; if the operation information corresponding to the user control instruction and the linkage control instruction cannot be identified in the linkage sub-operation information and the user sub-operation information, that is, both the linkage control instruction and the user control instruction are not executed, it indicates that the smart air conditioner cannot normally receive the control instruction sent by the linkage device, or fails to execute the corresponding control instruction. At this time, it can be determined that there is a fault in the smart air conditioner, and the corresponding fault cause is that the smart air conditioner itself has a fault.

[0176] Preferably, the fault prediction result includes an identification of an abnormal functional module; and the method further includes:

[0177] Determine the fault repair information corresponding to the abnormal function module; send the fault repair information and the first prompt information to the preset device; when a target control instruction for controlling the abnormal function module of the smart home appliance is detected, control the fault indicator light of the smart home appliance to light up or control the buzzer of the smart home appliance to sound.

[0178] Among them, the fault repair information is used to prompt the user to repair the abnormal function module of the smart home appliance, and the first prompt information is used to indicate the fault of the abnormal function module.

[0179] After obtaining the fault prediction result of the smart home appliance at that time, fault repair information for repairing the abnormal function module is generated based on the fault prediction result, as well as first prompt information to remind the user of the abnormal function module fault during the user's use after the smart home appliance fails, and the fault repair information and the first prompt information are sent to a preset device; when a target control instruction for controlling the abnormal function module of the smart home appliance is detected, the fault indicator light of the smart home appliance is controlled to light up or the buzzer of the smart home appliance is controlled to sound.

[0180] Preferably, generating fault repair information corresponding to the abnormal function module includes:

[0181] Determine the home appliance information of the smart home appliance; determine the abnormal operation information corresponding to the abnormal function module in the first historical operation information; generate the current abnormal information of the abnormal function module according to the home appliance information, the identifier of the abnormal function module and the abnormal operation information; determine the target abnormal information corresponding to the current abnormal information in multiple reference abnormal information, and determine the fault repair information corresponding to the target abnormal information as the fault repair information corresponding to the abnormal function module.

[0182] Among them, the home appliance information includes the home appliance type and the home appliance model; among multiple reference abnormal information, the similarity between the current abnormal information and the target abnormal information is the highest.

[0183] Determine the appliance type and model of the smart home appliance; filter and process the first historical operation information to determine the abnormal operation information corresponding to the abnormal function module; generate current abnormal information of the abnormal function module according to the appliance type, appliance model, identifier of the abnormal function module and abnormal operation information of the smart home appliance; compare the current abnormal information with multiple reference abnormal information to determine reference abnormal information corresponding to the current abnormal information, determine the reference abnormal information as the target abnormal information, and then determine the fault repair information corresponding to the target abnormal information as the fault repair information corresponding to the abnormal function module.

[0184] The fault prediction method of the smart home appliance provided in the present embodiment determines at least one linkage device that performs linkage control on the smart home appliance, and a weight parameter of each linkage device; obtains first historical operation information of the smart home appliance in a historical period, and second historical operation information of each linkage device in the historical period; obtains linkage configuration information of the smart home appliance, and determines sub-linkage configuration information corresponding to the linkage device for any linkage device; generates at least one linkage control instruction corresponding to the linkage device according to the second historical operation information and the sub-linkage configuration information of the linkage device, thereby obtaining multiple linkage control instructions; performs instruction extraction processing on the first historical operation information according to a preset identifier to obtain multiple control instructions, and determines a sending device corresponding to each control instruction, and determines a control instruction whose corresponding sending device is a preset device among the multiple control instructions as a user control instruction to obtain multiple user control instructions; determines sub-operation information corresponding to each linkage control instruction and each user control instruction in the first historical operation information, and performs fault prediction on the smart home appliance according to the weight parameter of each linkage device, multiple linkage control instructions, sub-operation information corresponding to each linkage control instruction, multiple user control instructions, and sub-operation information corresponding to each user control instruction, to obtain a fault prediction result and a fault cause. This method realizes rapid fault location in the scenario of smart home appliance linkage, avoids the interference of non-single factors on fault location in the scenario of multi-device linkage, promotes the collaboration between various smart devices in smart homes, makes full use of the correlation information between smart devices, improves the efficiency and accuracy of fault location and prediction, and can also improve the response speed and accuracy of the system, reduce faults caused by command conflicts or delays, and improve the user experience.

[0185] Figure 4 Schematic diagram of the process of the fault prediction method of smart home appliances provided in the embodiment of the present application Figure 3 .like Figure 4 As shown, in this embodiment Figure 3 Based on the embodiment, a method for predicting the fault of a smart home appliance based on a linkage control instruction and a user control instruction, and corresponding sub-operation information is described in detail. The method for predicting the fault of a smart home appliance shown in this embodiment includes:

[0186] S401: Determine the command occurrence time of each linkage control command and each user control command.

[0187] S402: For any one of the multiple linkage control instructions and the multiple user control instructions, determine a first instruction generation time of the control instruction and a second instruction generation time of a control instruction next to the control instruction.

[0188] After determining the multiple linkage control instructions and multiple user control instructions received by the smart home appliance, the time node when the smart home appliance starts to execute each linkage control instruction and each user control instruction is determined according to the reception time of different control instructions, that is, the instruction occurrence time of different control instructions is determined.

[0189] It is understandable that when smart home appliances execute different control instructions, there is a time sequence, and the corresponding control instructions are executed in sequence. There are no multiple control instructions executed at the same time. Therefore, different control instructions can be distinguished according to different instruction execution time periods.

[0190] For any one of the multiple linkage control instructions and the multiple user control instructions, when the smart home appliance receives the control instruction, the corresponding time node is determined as the first instruction occurrence time of the control instruction, and the start time node of another control instruction executed by the smart home appliance after the first instruction occurrence time is determined as the second instruction occurrence time of the next control instruction of the control instruction.

[0191] For example, during the historical period, the linkage control instruction was: turn on the smart air conditioner, and the corresponding instruction occurred at moment A, and the user control instructions were: turn on the strong mode, and the corresponding instruction occurred at moment B; turn off the strong mode, and the corresponding instruction occurred at moment C; turn on the sleep mode, and the corresponding instruction occurred at moment D; the order of occurrence times of different control instructions is: moment A, moment B, moment C, moment D. Therefore, for the linkage control instruction, the first instruction of the instruction occurs at moment A, and the next control instruction of the linkage control instruction "turn on the smart air conditioner" is "turn on the strong mode", and the corresponding second instruction occurs at moment B to turn on the strong mode.

[0192] S403: In the first historical operation information, determine the historical operation information between the time when the first instruction was generated and the time when the second instruction was generated as the sub-operation information corresponding to the control instruction.

[0193] S404: For any one of the multiple linkage control instructions and the multiple user control instructions, determine the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, and determine the instruction execution result of the control instruction according to the operation matching degree.

[0194] The operation matching degree is used to determine the consistency between the first historical operation information and the control instruction, and the instruction execution result is normal execution or abnormal execution.

[0195] In the first historical operation information, the historical operation information between the time when the first instruction occurred and the time when the second instruction occurred is determined as the sub-operation information of the control instruction corresponding to the time when the first instruction occurred; for any one of the multiple linkage control instructions and the multiple user control instructions, the control instruction is matched with the corresponding sub-operation information to determine whether the corresponding execution operations of the two are consistent. If the corresponding execution operations of the two are consistent, it indicates that the smart home appliance executes the control instruction within the corresponding time period. At this time, it can be determined that the operation matching degree between the control instruction and the corresponding sub-operation information is high; if the corresponding execution operations of the two are inconsistent, it indicates that the smart home appliance did not execute the control instruction within the corresponding time period. At this time, it can be determined that the operation matching degree between the control instruction and the corresponding sub-operation information is low; according to the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, it can be determined whether the smart home appliance executes the corresponding control instruction, that is, the instruction execution result of the corresponding control instruction can be determined.

[0196] For example, according to the different times when the instructions occurred, the first historical operation information is divided, and the linkage sub-operation information corresponding to the linkage control instruction is: start operation, and the user sub-operation information corresponding to the user control instruction is: turn on strong mode, turn off strong mode, turn on sleep mode; the linkage control instruction and the user control instruction are matched with the corresponding linkage sub-operation information and the user sub-operation information respectively, and the operation matching degree is used to reflect whether the sub-operation information matches the control instruction; the operation matching degree can be divided according to different matching degrees, specifically: high matching degree and low matching degree; in addition, the operation matching degree can also be expressed according to the matching percentage, specifically: taking 95% as the matching standard, if the matching degree of the control instruction and the sub-operation information is greater than 95%, it indicates that the two match consistently, and if the matching degree of the control instruction and the sub-operation information is greater than 95%, it indicates that the two match consistently. If the matching degree is not greater than 95%, it indicates that the two are inconsistent; if the matching degree of the linkage sub-operation information "start operation" and the linkage control instruction "turn on the smart air conditioner" is high, it can be determined that the instruction execution result of the control instruction is normal; if the matching degree of the linkage sub-operation information "start operation" and the linkage control instruction "turn on the smart air conditioner" is low, it can be determined that the instruction execution result of the control instruction is abnormal; for the linkage control instruction "turn on the smart air conditioner" and the user control instruction "turn on the smart air conditioner", if there is information corresponding to the linkage control instruction in the linkage sub-operation information, but there is no information corresponding to the user control instruction in the user sub-operation information, since the priority of the linkage control instruction is higher than that of the user control instruction, it indicates that the execution result of the linkage control instruction is normal, but the execution result of the user control instruction is abnormal. This application does not impose any special restrictions on the expression type of the operation matching degree.

[0197] S405: Determine an abnormal control instruction from among the multiple linkage control instructions and the multiple user control instructions according to the instruction execution result of each control instruction and the weight parameter of each linkage device.

[0198] Among them, the abnormal control instruction is used to indicate the instruction information that is not executed by the smart home appliance.

[0199] It can be understood that there is a correlation between the instruction execution result and the abnormal control instruction. If the instruction execution result of the control instruction is normal execution, it means that the control instruction is executed normally by the smart home appliance, and it can be determined that the control instruction is not an abnormal control instruction; if the instruction execution result of the control instruction is abnormal execution, all the control instructions obtained at that time are screened to determine whether there are other control instructions with a higher priority than the control instruction with abnormal execution, and whether the corresponding high-priority control instruction is executed. If the high-priority control instruction is executed, it means that the smart home appliance can operate normally and there is no fault. At this time, the abnormal control instruction is updated so that the control instruction does not belong to the abnormal control instruction; if the high-priority control instruction is not executed, it means that the smart home appliance has not executed any control instruction, and the corresponding control instruction can be determined as an abnormal control instruction. S406: Determine the abnormal function module corresponding to the abnormal control instruction among the multiple function modules in the smart home appliance.

[0200] S407: Determine the fault prediction result and the fault cause according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions.

[0201] Among them, the abnormal function module is used to indicate the function module that cannot execute the control instruction normally.

[0202] It can be understood that there are multiple functional modules in smart home appliances, and different functional modules can realize different functions. The functional modules are set in the smart home system to assist different smart home appliances to execute corresponding control instructions; the multiple control instructions received by the smart home appliances are control information generated based on user usage needs or linkage control of linkage devices. There are functional differences between the multiple control instructions. In order to meet different usage needs or linkage operations, smart home appliances need to rely on different functional modules to achieve corresponding control requirements.

[0203] Among the multiple functional modules in the smart home appliance, the corresponding functional modules are screened out according to the abnormal control instructions, and the screened functional modules are determined as abnormal functional modules; when the abnormal functional module corresponding to each abnormal control instruction is determined, the abnormal control instructions and abnormal functional modules existing in the smart home appliance in the current historical period are analyzed and processed to determine the number of abnormal control instructions and the abnormal functional modules corresponding to the abnormal control instructions, and based on the analysis result, a fault prediction result of the smart home appliance at that time is generated.

[0204] For example, if the abnormal control instruction obtained this time is: turn on the strong mode and turn off the strong mode, then the corresponding abnormal function module is: the air-conditioning control module. At this time, the number of abnormal control instructions of the smart air conditioner is 2, and the corresponding abnormal function modules are all air-conditioning control modules. Therefore, it can be determined that there is an abnormality in the air-conditioning control module of the smart air conditioner at that time, and a fault prediction result for the abnormal situation at that time is generated, and the fault prediction result can be: "There is a fault in the air-conditioning control module, and the fault needs to be repaired in time."

[0205] Preferably, determining the fault prediction result according to the number of abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions includes:

[0206] If the number of abnormal control instructions is 0, the fault prediction result is determined to be the first prediction result; if the number of abnormal control instructions is greater than 0, the number of abnormal control instructions corresponding to each abnormal function module is determined according to the abnormal function module corresponding to each abnormal control instruction, and the target abnormal function module is determined according to the number of abnormal control instructions corresponding to each abnormal function module, and the fault prediction result is determined to be the second prediction result according to the target abnormal function module.

[0207] Among them, the preset threshold is used to indicate the lower limit value of whether the smart home appliance fails, the first prediction result is used to indicate that the probability of the smart home appliance failing in a future time period is less than or equal to the preset threshold, and the second prediction result is used to indicate that the probability of the target abnormal function module failing in a future time period is greater than or equal to the preset threshold, and the number of abnormal control instructions corresponding to the target abnormal function module is greater than or equal to the preset number.

[0208] For example, if the number of abnormal control instructions is 0, it indicates that the smart air conditioner does not have any unreceived control instructions or control instructions that cannot be executed normally. At this time, the fault prediction result can be determined as the first prediction result; if the number of abnormal control instructions is greater than 0, it indicates that the smart air conditioner has any unreceived control instructions or control instructions that cannot be executed normally. At this time, it is necessary to determine the specific number of abnormal control instructions that exist at the time, as well as the abnormal function modules corresponding to each abnormal control instruction, and then, based on the number of abnormal control instructions corresponding to each abnormal function module, screen out the modules with more abnormal control instructions, determine the module as the target abnormal function module, and determine the second prediction result as the fault prediction result of the smart air conditioner at the time.

[0209] The fault prediction method of the smart home appliance provided in the present embodiment determines the command occurrence time of each linkage control instruction and each user control instruction, and for any one of the multiple linkage control instructions and the multiple user control instructions, determines the first command occurrence time of the control instruction and the second command occurrence time of the next control instruction of the control instruction; in the first historical operation information, determines the historical operation information between the first command occurrence time and the second command occurrence time as the sub-operation information corresponding to the control instruction; for any one of the multiple linkage control instructions and the multiple user control instructions, determines the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, and determines the command execution result of the control instruction according to the operation matching degree; determines the abnormal control instruction according to the command execution result of each control instruction and the weight parameter of each linkage device, determines the abnormal function module corresponding to the abnormal control instruction, and determines the fault prediction result and the fault cause based on the number of abnormal control instructions and the abnormal function module corresponding to the abnormal control instruction. This method realizes rapid fault location in the scenario of smart home appliance linkage, avoids the interference of non-single factors on fault location in the scenario of multi-device linkage, promotes the collaboration between various smart devices in smart homes, makes full use of the correlation information between smart devices, improves the efficiency and accuracy of fault location and prediction, and reduces faults caused by command conflicts or delays.

[0210] Figure 5 This is a schematic diagram of the structure of the fault prediction device for smart home appliances provided in this application. Figure 5 As shown, the present application provides a fault prediction device for a smart home appliance, and the fault prediction device 500 for a smart home appliance includes:

[0211] The determination module 501 is used to determine at least one linkage device for linkage control of the smart home appliance and a weight parameter of each linkage device, wherein the weight parameter is used to determine the instruction priority of different linkage devices.

[0212] The acquisition module 502 is used to acquire the first historical operation information of the smart home appliance in the historical period and the second historical operation information of each linkage device in the historical period.

[0213] The acquisition module 502 is further used to acquire linkage configuration information of the smart home appliance, where the linkage configuration information includes at least one trigger condition and the linkage operation of the smart home appliance under the trigger condition.

[0214] The determination module 501 is further configured to determine a plurality of linkage control instructions for the smart home appliance within the historical period according to the second historical operation information of each linkage device and the linkage configuration information.

[0215] The acquisition module 502 is further used to acquire multiple user control instructions input by the user to the smart home appliance within the historical period.

[0216] The processing module 503 is used to predict the fault of the smart home appliance based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, and obtain the fault prediction result and the fault cause.

[0217] Optionally, the determination module 501 is further used to determine sub-operation information corresponding to each linkage control instruction and each user control instruction in the first historical operation information.

[0218] The processing module 503 is also used to perform fault prediction on the smart home appliance based on the weight parameters of each linkage device, according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction, to obtain the fault prediction result and the fault cause.

[0219] Optionally, the determination module 501 is further used to determine the instruction occurrence time of each linkage control instruction and each user control instruction.

[0220] The determination module 501 is further used to determine, for any one of the multiple linkage control instructions and the multiple user control instructions, a first instruction occurrence time of the control instruction and a second instruction occurrence time of the next control instruction of the control instruction.

[0221] The determination module 501 is further configured to determine, in the first historical operation information, the historical operation information between the time when the first instruction was generated and the time when the second instruction was generated as the sub-operation information corresponding to the control instruction.

[0222] Optionally, the determination module 501 is also used to determine, for any one of the multiple linkage control instructions and the multiple user control instructions, an operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, and determine an instruction execution result of the control instruction based on the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, the instruction execution result being normal execution or abnormal execution.

[0223] The determination module 501 is further configured to determine an abnormal control instruction among the multiple linkage control instructions and the multiple user control instructions according to the instruction execution result of each control instruction and the weight parameter of each linkage device.

[0224] The determination module 501 is further used to determine the abnormal function module corresponding to the abnormal control instruction among multiple function modules in the smart home appliance.

[0225] The determination module 501 is further configured to determine the fault prediction result and the fault cause according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions.

[0226] Optionally, if the number of abnormal control instructions is 0, the determination module 501 is also used to determine that the fault prediction result is a first prediction result, and the first prediction result is used to indicate that the probability of the smart home appliance failing in a future time period is less than or equal to a preset threshold.

[0227] If the number of abnormal control instructions is greater than 0, the determination module 501 is also used to determine the number of abnormal control instructions corresponding to each abnormal function module according to the abnormal function module corresponding to each abnormal control instruction, determine the target abnormal function module according to the number of abnormal control instructions corresponding to each abnormal function module, and determine the fault prediction result as the second prediction result according to the target abnormal function module; wherein the second prediction result is used to indicate that the probability of the target abnormal function module failing in the future time period is greater than or equal to the preset threshold, and the number of abnormal control instructions corresponding to the target abnormal function module is greater than or equal to the preset number.

[0228] Optionally, the determination module 501 is further configured to determine, for any linkage device, sub-linkage configuration information corresponding to the linkage device in the linkage configuration information, wherein the triggering condition in the sub-linkage configuration information is a condition satisfied by the linkage device.

[0229] The processing module 503 is further configured to generate at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information.

[0230] The determining module 501 is further configured to determine that the multiple linkage control instructions include at least one linkage control instruction corresponding to each linkage device.

[0231] Optionally, the determination module 501 is further configured to determine, in the sub-linkage configuration information, at least one target trigger condition satisfied by the linkage device according to second historical operation information of the linkage device.

[0232] The processing module 503 is further used to generate at least one linkage control instruction according to the linkage operation corresponding to each target trigger condition in the sub-linkage configuration information, and the linkage control instruction is used to control the smart home appliance to perform the corresponding linkage operation.

[0233] Optionally, the processing module 503 is further configured to perform instruction extraction processing on the first historical operation information according to a preset identifier to obtain a plurality of control instructions, wherein the control instructions include the preset identifier.

[0234] The determination module 501 is further used to determine the sending device corresponding to each control instruction.

[0235] The determining module 501 is further configured to determine, among the multiple control instructions, a control instruction whose corresponding sending device is a preset device as a user control instruction, to obtain the multiple user control instructions.

[0236] Optionally, the determination module 501 is further used to determine the fault repair information corresponding to the abnormal function module.

[0237] The processing module 503 is further used to send the fault repair information and first prompt information to a preset device, where the first prompt information is used to indicate the fault of the abnormal function module.

[0238] The processing module 503 is further configured to control the fault indicator light of the smart home appliance to light up or control the buzzer of the smart home appliance to sound when a target control instruction for controlling the abnormal function module of the smart home appliance is detected.

[0239] Optionally, the determination module 501 is further used to determine the home appliance information of the smart home appliance, where the home appliance information includes the home appliance type and the home appliance model.

[0240] The determining module 501 is further used to determine abnormal operation information corresponding to the abnormal function module in the first historical operation information.

[0241] The processing module 503 is further configured to generate current abnormal information of the abnormal function module according to the home appliance information, the identifier of the abnormal function module and the abnormal operation information.

[0242] The determination module 501 is also used to determine the target abnormality information corresponding to the current abnormality information among multiple reference abnormality information, and determine the fault repair information corresponding to the target abnormality information as the fault repair information corresponding to the abnormal function module; wherein, among the multiple reference abnormality information, the similarity between the current abnormality information and the target abnormality information is the highest.

[0243] Figure 6 This is a schematic diagram of the structure of the fault prediction device for smart home appliances provided in this application. Figure 6 As shown, the present application provides a fault prediction device for a smart home appliance, and the fault prediction device 600 for a smart home appliance includes: a receiver 601 , a transmitter 602 , a processor 603 and a memory 604 .

[0244] Receiver 601, used for receiving instructions and data;

[0245] A transmitter 602, used for sending instructions and data;

[0246] Memory 604, used to store computer-executable instructions;

[0247] The processor 603 is used to execute the computer-executable instructions stored in the memory 604 to implement the various steps executed by the fault prediction method for smart home appliances in the above embodiment. For details, please refer to the relevant description in the above embodiment of the fault prediction method for smart home appliances.

[0248] Optionally, the memory 604 may be independent or integrated with the processor 603 .

[0249] When the memory 604 is independently provided, the electronic device further includes a bus for connecting the memory 604 and the processor 603 .

[0250] The present application also provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, a fault prediction method for smart home appliances as performed by the fault prediction device for smart home appliances as described above is implemented.

[0251] The present application also provides a program product, including a computer program, which implements the fault prediction method for the smart home appliance as described above when executed by a processor.

[0252] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0253] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for predicting faults of smart home appliances, characterized in that: The method comprises: Determine at least one linkage device for linkage control of the smart home appliance, and a weight parameter of each linkage device, wherein the weight parameter is used to determine the instruction priority of different linkage devices; Acquire first historical operation information of the smart home appliance in a historical period, and second historical operation information of each linkage device in the historical period; Acquire linkage configuration information of the smart home appliance, wherein the linkage configuration information includes at least one trigger condition and a linkage operation of the smart home appliance under the trigger condition; Determining, according to the second historical operation information of each linkage device and the linkage configuration information, a plurality of linkage control instructions for the smart home appliance within the historical period; Acquire multiple user control instructions input by the user to the smart home appliance within the historical period; Based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, fault prediction is performed on the smart home appliance to obtain a fault prediction result and a fault cause.

2. The method according to claim 1, characterized in that The method of performing fault prediction on the smart home appliance based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, and obtaining a fault prediction result and a fault cause includes: In the first historical operation information, determining sub-operation information corresponding to each linkage control instruction and each user control instruction; Based on the weight parameters of each linkage device, fault prediction is performed on the smart home appliance according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction to obtain a fault prediction result and a fault cause.

3. The method according to claim 2, characterized in that In the first historical operation information, sub-operation information corresponding to each linkage control instruction and each user control instruction is determined, including: Determine the command occurrence time of each linkage control command and each user control command; For any one of the multiple linkage control instructions and the multiple user control instructions, determine a first instruction generation time of the control instruction and a second instruction generation time of a next control instruction of the control instruction; In the first historical operation information, the historical operation information between the time when the first instruction was generated and the time when the second instruction was generated is determined as the sub-operation information corresponding to the control instruction.

4. The method according to claim 2 or 3, characterized in that: Based on the weight parameter of each linkage device, according to the multiple linkage control instructions, the sub-operation information corresponding to each linkage control instruction, the multiple user control instructions, and the sub-operation information corresponding to each user control instruction, the fault prediction result and the fault cause are obtained for the smart home appliance, including: For any one of the multiple linkage control instructions and the multiple user control instructions, determining an operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, and determining an instruction execution result of the control instruction according to the operation matching degree between the control instruction and the sub-operation information corresponding to the control instruction, the instruction execution result being normal execution or abnormal execution; Determining an abnormal control instruction among the plurality of linkage control instructions and the plurality of user control instructions according to the instruction execution result of each control instruction and the weight parameter of each linkage device; Determine, among the plurality of function modules in the smart home appliance, an abnormal function module corresponding to the abnormal control instruction; The fault prediction result and the fault cause are determined according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions.

5. The method according to claim 4, characterized in that Determining the fault prediction result according to the number of the abnormal control instructions and the abnormal function modules corresponding to the abnormal control instructions includes: If the number of the abnormal control instructions is 0, determining that the fault prediction result is a first prediction result, the first prediction result is used to indicate that the probability of the smart home appliance failing in a future period is less than or equal to a preset threshold; If the number of the abnormal control instructions is greater than 0, determining the number of abnormal control instructions corresponding to each abnormal function module according to the abnormal function module corresponding to each abnormal control instruction, determining the target abnormal function module according to the number of abnormal control instructions corresponding to each abnormal function module, and determining the fault prediction result as the second prediction result according to the target abnormal function module; Among them, the second prediction result is used to indicate that the probability of the target abnormal function module failing in the future time period is greater than or equal to the preset threshold, and the number of abnormal control instructions corresponding to the target abnormal function module is greater than or equal to the preset number.

6. The method according to claim 1, characterized in that Determining, according to the second historical operation information of each linkage device and the linkage configuration information, a plurality of linkage control instructions for the smart home appliance within the historical period, including: For any linkage device, determining sub-linkage configuration information corresponding to the linkage device in the linkage configuration information, wherein the triggering condition in the sub-linkage configuration information is a condition satisfied by the linkage device; generating at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information; It is determined that the multiple linkage control instructions include at least one linkage control instruction corresponding to each linkage device.

7. The method according to claim 6, characterized in that Generating at least one linkage control instruction corresponding to the linkage device according to the second historical operation information of the linkage device and the sub-linkage configuration information, including: Determining at least one target trigger condition satisfied by the linkage device in the sub-linkage configuration information according to the second historical operation information of the linkage device; According to the linkage operation corresponding to each target trigger condition in the sub-linkage configuration information, at least one linkage control instruction is generated, and the linkage control instruction is used to control the smart home appliance to perform the corresponding linkage operation.

8. The method according to claim 1, characterized in that Acquiring a plurality of user control instructions input by the user to the smart home appliance within the historical period includes: Performing instruction extraction processing on the first historical operation information according to a preset identifier to obtain a plurality of control instructions, wherein the control instructions include the preset identifier; Determine the sending device corresponding to each control instruction; Among the multiple control instructions, the control instructions corresponding to which the sending device is the preset device are determined as user control instructions, and the multiple user control instructions are obtained.

9. The method according to claim 1, characterized in that: The fault prediction result includes an identification of an abnormal functional module; the method further includes: Determine the fault repair information corresponding to the abnormal function module; Sending the fault repair information and first prompt information to a preset device, where the first prompt information is used to indicate the fault of the abnormal function module; When a target control instruction for controlling the abnormal function module of the smart home appliance is detected, a fault indicator light of the smart home appliance is controlled to light up or a buzzer of the smart home appliance is controlled to sound.

10. The method according to claim 9, characterized in that Generate fault repair information corresponding to the abnormal function module, including: Determine the home appliance information of the smart home appliance, wherein the home appliance information includes the type and model of the home appliance; Determine the abnormal operation information corresponding to the abnormal function module in the first historical operation information; generating current abnormal information of the abnormal function module according to the home appliance information, the identifier of the abnormal function module and the abnormal operation information; Determine target abnormal information corresponding to the current abnormal information among multiple reference abnormal information, and determine the fault repair information corresponding to the target abnormal information as the fault repair information corresponding to the abnormal function module; wherein, among the multiple reference abnormal information, the similarity between the current abnormal information and the target abnormal information is the highest.

11. A fault prediction device for smart home appliances, characterized in that: include: A determination module, used to determine at least one linkage device for linkage control of the smart home appliance, and a weight parameter of each linkage device, wherein the weight parameter is used to determine the instruction priority of different linkage devices; An acquisition module, used to acquire first historical operation information of the smart home appliance in a historical period, and second historical operation information of each linkage device in the historical period; The acquisition module is further used to acquire linkage configuration information of the smart home appliance, wherein the linkage configuration information includes at least one trigger condition and the linkage operation of the smart home appliance under the trigger condition; The determination module is further configured to determine a plurality of linkage control instructions for the smart home appliance within the historical period according to the second historical operation information of each linkage device and the linkage configuration information; The acquisition module is further used to acquire a plurality of user control instructions input by the user to the smart home appliance within the historical period; A processing module is used to predict faults of the smart home appliance based on the weight parameters of each linkage device, according to the multiple linkage control instructions, the multiple user control instructions and the first historical operation information, and obtain a fault prediction result and a fault cause.

12. A fault prediction device for smart home appliances, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the fault prediction method for the smart home appliance according to any one of claims 1-10.

13. A computer storage medium, characterized in that: The computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the fault prediction method for smart home appliances as described in any one of claims 1 to 10.

Citation Information

Cited By

  • Intelligent scene linkage control platform and equipment

    CN120029124A

  • Internet of Things equipment binding method and system and cloud platform

    CN121239666A