Abnormality detection control method and device, equipment and storage medium
By identifying abnormal devices with intelligent devices and performing corresponding fault detection or troubleshooting processes, combining self-test and knowledge base generation processing solutions, the problem of users' difficulty in quickly locate faults is solved, and efficient fault handling is achieved.
Patent Information
- Application Number
- CN202410122950.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, it is difficult for users to quickly and accurately locate fault problems when interacting with smart devices, mainly due to relying on user expressions and insufficient grasp of device status.
Intelligent devices detect users' interactive applications, identify abnormal devices, and execute fault detection processes or issue troubleshooting instructions based on whether the device is the same device, and interact with users based on the self-test mechanism and knowledge base generation processing plan.
Quickly and accurately locate fault problems, provide unique interactive solutions, facilitate users to understand and solve problems, and improve the efficiency and accuracy of fault handling.
Smart Images

Figure CN120386314A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of intelligent household appliances, and particularly relates to an abnormal detection and control method, device, equipment, and storage medium. Background Art
[0002] With the continuous update and development of intelligent devices, users may encounter states or abnormal situations that they do not understand during use and are unable to determine how to handle them.
[0003] In the prior art, users interact with intelligent devices through means such as language, enabling them to provide corresponding solutions or answers based on the descriptions of the user interactions.
[0004] However, the above method overly relies on the user's expression and the user's understanding of the current state of the intelligent device, making it difficult to quickly and accurately locate the fault problem. Summary of the Invention
[0005] To solve the above problems in the prior art, this application provides an abnormal detection and control method, device, equipment, and storage medium.
[0006] In a first aspect, this application provides an abnormal detection and control method, the method comprising:
[0007] When the intelligent device detects that a user initiates an interaction application, obtain an abnormal device according to the question-and-answer retrieval information included in the interaction application;
[0008] If the abnormal device is the same device as the intelligent device, control the intelligent device to perform detection according to a preset fault detection process, and generate a corresponding processing solution based on the detection result to interact with the user;
[0009] If the abnormal device is not the same device as the intelligent device, control the intelligent device to send a troubleshooting instruction to the abnormal device, and generate a corresponding processing solution based on the abnormal information fed back by the abnormal device to interact with the user.
[0010] In a possible implementation manner, the generating a corresponding processing solution based on the detection result to interact with the user includes:
[0011] If a fault problem of the intelligent device is detected, obtain the processing solution according to the fault problem, generate a guiding script according to the processing solution, and interact with the user according to the guiding script;
[0012] If no fault problem of the intelligent device is detected, control the intelligent device to start a self-check mode, and generate a corresponding processing solution based on the self-check result to interact with the user.
[0013] In a possible implementation, controlling the intelligent device to start the self-check mode includes:
[0014] Obtain the program that the intelligent device ran most recently, and the running duration corresponding to each step in the program;
[0015] Obtain a scaling ratio based on the running duration, and obtain the simulated running duration corresponding to each step according to the scaling ratio;
[0016] Control the intelligent device to simulate the operation of the program according to the simulated running duration, and monitor the device status of the intelligent device in real time, and locate the fault problem of the intelligent device according to the device status.
[0017] In a possible implementation, obtaining a scaling ratio based on the running duration, and obtaining the simulated running duration corresponding to each step according to the scaling ratio includes:
[0018] Obtain the cumulative number of faults of the running device corresponding to each step from the historical fault records of the intelligent device;
[0019] Obtain the scaling ratio corresponding to each step according to the ratio of the running duration corresponding to each step to the total running duration of the program, and the cumulative number of faults corresponding to each step;
[0020] Obtain the simulated running duration corresponding to each step according to the product of the scaling ratio corresponding to each step and the running duration.
[0021] In a possible implementation, if the fault problem of the intelligent device is not located, the method further includes:
[0022] Obtain a general solution from the knowledge base associated with the intelligent device according to the Q&A retrieval information, and interact with the user according to the general solution;
[0023] Send a repair confirmation message to the user, and determine whether to control the intelligent device to perform a repair operation according to the feedback information of the user.
[0024] In a possible implementation, obtaining the abnormal device according to the Q&A retrieval information included in the interaction application includes:
[0025] Analyze the interaction intention of the user according to the Q&A retrieval information, obtain the device information of the intelligent device, and obtain the correlation degree between the intelligent device and the Q&A retrieval information according to the device information and the interaction intention;
[0026] If the correlation degree is greater than or equal to the correlation degree threshold, determine that the abnormal device is the intelligent device;
[0027] If the correlation degree is less than the correlation degree threshold, obtain user information according to the interaction application, obtain multiple candidate devices bound by the user according to the user information, and obtain the abnormal device according to the device information of each candidate device and the interaction intention.
[0028] In a possible implementation manner, when the abnormal device is not obtained according to the correlation degree, the method further includes:
[0029] Generate an abnormal device confirmation script according to the question-and-answer retrieval information, control the intelligent device to interact with the user according to the abnormal device confirmation script, and obtain the abnormal device according to the interaction result.
[0030] In a second aspect, the present application further provides an abnormal detection control device, including: an acquisition module, a detection module, and a control module, where:
[0031] The acquisition module is configured to obtain an abnormal device according to the question-and-answer retrieval information included in the interaction application when the intelligent device detects that the user initiates an interaction application;
[0032] The detection module is configured to, if the abnormal device is the same device as the intelligent device, control the intelligent device to perform detection according to a preset fault detection process, and generate a corresponding processing solution according to the detection result to interact with the user;
[0033] The control module is configured to, if the abnormal device is not the same device as the intelligent device, control the intelligent device to send a troubleshooting instruction to the abnormal device, and generate a corresponding processing solution according to the abnormal information fed back by the abnormal device to interact with the user.
[0034] In a possible implementation manner, the detection module is further configured to:
[0035] If a fault problem of the intelligent device is detected, obtain the processing solution according to the fault problem, generate a guiding script according to the processing solution, and interact with the user according to the guiding script;
[0036] If no fault problem of the intelligent device is detected, control the intelligent device to start a self-check mode, and generate a corresponding processing solution according to the self-check result to interact with the user.
[0037] In a possible implementation manner, the detection module is further configured to:
[0038] Obtain the program that the intelligent device ran most recently, and the running duration corresponding to each step in the program;
[0039] Obtain a scaling ratio according to the running duration, and obtain the simulated running duration corresponding to each step according to the scaling ratio;
[0040] Control the intelligent device to simulate the program running according to the simulated running duration, and monitor the device status of the intelligent device in real time, and locate the fault problem of the intelligent device according to the device status.
[0041] In a possible implementation manner, the detection module is further configured to:
[0042] Obtain the cumulative failure times of the running devices corresponding to each step from the historical failure records of the intelligent device;
[0043] Obtain the scaling ratio corresponding to each step according to the ratio of the running duration corresponding to each step to the total running duration of the program, and the cumulative failure times corresponding to each step;
[0044] Obtain the simulated running duration corresponding to each step according to the product of the scaling ratio corresponding to each step and the running duration.
[0045] In a possible implementation manner, the detection module is further configured to:
[0046] Obtain a general solution from the knowledge base associated with the intelligent device according to the question-and-answer retrieval information, and interact with the user according to the general solution;
[0047] Send a repair confirmation message to the user, and determine whether to control the intelligent device to perform a repair operation according to the feedback information of the user.
[0048] In a possible implementation manner, the obtaining module is further configured to:
[0049] Analyze the interaction intention of the user according to the question-and-answer retrieval information, obtain the device information of the intelligent device, and obtain the correlation degree between the intelligent device and the question-and-answer retrieval information according to the device information and the interaction intention;
[0050] If the correlation degree is greater than or equal to the correlation degree threshold, determine that the abnormal device is the intelligent device;
[0051] If the correlation degree is less than the correlation degree threshold, obtain user information according to the interaction application, obtain multiple candidate devices bound by the user according to the user information, and obtain the abnormal device according to the device information of each candidate device and the interaction intention.
[0052] In a possible implementation manner, the obtaining module is further configured to:
[0053] Generate an abnormal device confirmation script according to the retrieved information of the question and answer, control the intelligent device to interact with the user according to the abnormal device confirmation script, and obtain the abnormal device according to the interaction result.
[0054] In a third aspect, the present application further provides an electronic device, including: at least one processor and a memory, wherein:
[0055] The memory is used to store computer execution instructions;
[0056] The at least one processor is used to execute the computer execution instructions stored in the memory, so that the at least one processor executes the abnormal detection control method according to any one of the first aspects.
[0057] In a fourth aspect, the present application further provides a computer storage medium, in which computer execution instructions are stored, and when the computer execution instructions are executed by a processor, they are used to implement the abnormal detection control method according to any one of the first aspects.
[0058] In a fifth aspect, the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the abnormal detection control method according to any one of the first aspects can be implemented.
[0059] The present application provides an abnormal detection control method, device, equipment and storage medium. When the intelligent device receives a user interaction application, it identifies the abnormal device, matches the corresponding fault detection process according to the abnormal device, and interacts with the user according to the processing solution obtained after the detection. Through the above method, combined with the self-check mechanism of the intelligent device and the knowledge base, the fault problem can be quickly and accurately located, and a unique interaction solution can be generated according to it, which is convenient for users to understand and solve the problem. Description of the Drawings
[0060] The drawings here are incorporated into the specification and form a part of this specification, showing the embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0061] Figure 1 Flow schematic of an abnormal detection control method provided by an embodiment of the present application Figure 1 ;
[0062] Figure 2 Flow schematic of an abnormal detection control method provided by an embodiment of the present application Figure 2 ;
[0063] Figure 3 Flow schematic of an abnormal detection control method provided by an embodiment of the present application Figure 3 ;
[0064] Figure 4 It is a schematic structural diagram of an anomaly detection control device provided by an embodiment of the present application;
[0065] Figure 5 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
[0066] Through the above-mentioned drawings, the specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept 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. Specific Embodiments
[0067] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below in conjunction with the drawings in the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
[0068] 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 do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented, for example, in an order other than those illustrated or described herein.
[0069] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0070] With the continuous update and development of intelligent devices, users may encounter states or abnormal situations that they do not understand during the use process and are unable to determine how to handle them. Generally, users interact with intelligent devices through means such as language, enabling them to provide corresponding solutions or answers according to the descriptions of the user interactions.
[0071] However, the above method overly relies on the user's expression and the user's understanding of the current state of the intelligent device, making it difficult to quickly and accurately locate the fault problem.
[0072] The present application provides an abnormal detection and control method. When an intelligent device receives a user interaction application, it identifies abnormal devices, matches corresponding fault detection processes according to the abnormal devices, and interacts with the user according to the processing solutions obtained after detection. Through the above method, combined with the self-check mechanism of the intelligent device and the knowledge base, the fault problem can be quickly and accurately located, and a unique interaction solution can be generated according to it, which is convenient for users to understand and solve problems.
[0073] Next, the technical solutions shown in the present application will be described in detail through specific embodiments. It should be noted that the following embodiments can exist independently or be combined with each other. For the same or similar content, it will not be repeated in different embodiments.
[0074] Figure 1 Flow schematic of an abnormal detection and control method provided by an embodiment of the present application Figure 1 As Figure 1 shown, the method includes:
[0075] S101. When the intelligent device detects that the user initiates an interaction application, obtain the abnormal device according to the question-and-answer retrieval information included in the interaction application.
[0076] In this step, the interaction application is an interaction between the user and the intelligent device in the form of language or text, etc. The interaction application is used to indicate that the user has a device problem that needs to be solved and understood at present. Therefore, when the intelligent device with an interaction function detects the user's interaction application, it is necessary to obtain the question-and-answer retrieval information from the interaction application and obtain the abnormal device according to the question-and-answer retrieval information.
[0077] Furthermore, considering that the abnormal device may be the intelligent device itself that interacts with the user, or, it may be other intelligent devices without an interaction function. And the ways for the intelligent device to control itself and other devices are different. Therefore, it is necessary to further determine the next operation of the intelligent device according to the result of whether the abnormal device and the intelligent device are the same device.
[0078] At the same time, this embodiment does not make any limitation on the way to obtain the abnormal device according to the question-and-answer retrieval information. Exemplarily, information such as the device model and function included in the question-and-answer retrieval information can be extracted, and the abnormal device can be obtained by analyzing the extracted information.
[0079] S102. If the abnormal device and the intelligent device are the same device, control the intelligent device to perform detection according to a preset fault detection process, and generate a corresponding processing solution according to the detection result to interact with the user.
[0080] In this step, when the abnormal device is obtained according to the question-and-answer retrieval information and it is determined that the abnormal device and the intelligent device are the same device, the intelligent device can directly perform self-check to locate the fault problem of the intelligent device.
[0081] Further, considering that there are some common fault problems in different types of intelligent devices, in order to simplify the self-check process of intelligent devices and quickly solve problems, a general fault detection process is generally set according to the common abnormalities of various types of intelligent devices. Exemplarily, the fault detection process can be in the form of a fault tree.
[0082] Specifically, when the intelligent device starts self-checking, it preferentially conducts self-examination and monitoring according to the preset fault detection process, generates a processing solution to solve the problem based on the result of the fault detection process, and interacts with the user according to the processing solution to help the user solve the problem.
[0083] S103. If the abnormal device is not the same device as the intelligent device, control the intelligent device to send a troubleshooting instruction to the abnormal device, and generate a corresponding processing solution according to the abnormal information fed back by the abnormal device and interact with the user.
[0084] In this step, when the abnormal device is obtained according to the Q&A retrieval information and it is determined that the abnormal device and the intelligent device are not the same device, the intelligent device sends a troubleshooting instruction to the abnormal device to enable the abnormal device to conduct troubleshooting for abnormal problems. The specific troubleshooting process is the same as the process of the intelligent device troubleshooting its own abnormal problems, that is, detecting according to the preset fault detection process.
[0085] Further, since the abnormal device is not the intelligent device that interacts with the user, after the abnormal device locates the fault problem, it needs to feedback the fault problem to the intelligent device through the abnormal information, and then the intelligent device generates a corresponding processing solution according to the abnormal information and interacts with the user according to the processing solution.
[0086] The present application provides an abnormal detection control method. When the intelligent device receives a user interaction request, it identifies the abnormal device, conducts a fault detection process or sends a troubleshooting instruction according to whether the abnormal device and the intelligent device that has the interaction are the same device, and interacts with the user according to the obtained processing solution. Through the above method, combined with the self-check mechanism of the intelligent device and the knowledge base, the fault problem can be quickly and accurately located, and a unique interaction solution is generated according to it, which is convenient for the user to understand and solve the problem.
[0087] Figure 2 is a flow schematic diagram of an abnormal detection control method provided by an embodiment of the present application Figure 2 . The embodiment of the present application has made a detailed description of the operation steps of how to generate a corresponding processing solution according to the detection result and interact with the user. As Figure 2 shown, the method includes:
[0088] S201. Determine whether the detection result of the fault detection process detects a fault problem of the intelligent device.
[0089] In this step, since the fault detection process is set according to common fault problems, some fault problems exclusive to a certain type of intelligent device may not be recognized, and such problems are generally difficult to solve. If a general solution is directly generated and interacted with the user, it is very likely that the user cannot be helped to solve the problem. Therefore, it is necessary to further troubleshoot and locate the specific fault problem.
[0090] Therefore, after the intelligent device executes the fault detection process, it is necessary to first determine whether the intelligent device locates the fault problem through the fault detection process.
[0091] In a possible implementation, the fault detection process can also be set for each type of intelligent device. According to the common problems of each type of intelligent device, the fault detection process is set.
[0092] Exemplarily: The user question and answer retrieval information is: The washing machine door cannot be opened. The corresponding abnormal device is the washing machine, and the detection result of the fault detection process is:
[0093] Detection process 1: Detect the current running state of the washing machine - running; Detection process 2: Detect the warning information of the washing machine - none; Detection process 3: Determine the locking situation of the washing machine door - locked; The script generated by the washing machine is: The washing machine is still running, and the door is in the locked state. At this time, the door cannot be opened, and it is necessary to wait for the washing machine to finish running.
[0094] S202. If the fault problem of the intelligent device is detected, obtain the processing solution according to the fault problem, generate a guiding script according to the processing solution, and interact with the user according to the guiding script.
[0095] In this step, after it is determined that the intelligent device locates the fault problem through the fault detection process, analyze the fault problem to obtain the corresponding processing solution.
[0096] Furthermore, considering that the processing solution may include some professional terms, which are not easy for the user to understand. For the convenience of the user's understanding and enabling the user to solve the problem according to the processing solution, in this embodiment, a guiding script is generated according to the processing solution, and the intelligent device is controlled to interact with the user through the guiding script to assist the user in solving the problem.
[0097] S203. If the fault problem of the intelligent device is not detected, obtain the program that the intelligent device ran last time, and the running duration corresponding to each step in the program, obtain the scaling ratio according to the running duration, and obtain the simulated running duration corresponding to each step according to the scaling ratio.
[0098] In this step, when it is determined that the intelligent device fails to locate the fault problem through the fault detection process, it is necessary to further locate the fault problem through the self-check program. Considering that when the intelligent device is abnormal, the user will immediately solve the problem through interaction, it can be considered that the intelligent device can locate the fault problem by simulating the program run in the most recent operation.
[0099] Furthermore, since the total running duration of the program is relatively long, in order to avoid the user waiting for a long time, in this embodiment, the total running duration of the program is shortened by the scaling ratio.
[0100] Specifically, obtain the running duration corresponding to each step of the program, and obtain the scaling ratio corresponding to each step according to the running duration corresponding to each step. Then, obtain the simulated running duration corresponding to each step according to the scaling ratio.
[0101] Furthermore, since each program includes a large number of steps, and the probability of some steps corresponding to the devices sending faults is relatively small, in order to locate the fault problem more quickly, in this embodiment, the scaling ratio is also obtained by combining the possibility of the devices corresponding to each step sending faults. The specific steps are as follows:
[0102] Obtain the cumulative number of faults of the running devices corresponding to each step from the historical fault records of the intelligent device;
[0103] Obtain the scaling ratio corresponding to each step according to the ratio of the running duration corresponding to each step to the total running duration of the program and the cumulative number of faults corresponding to each step;
[0104] Obtain the simulated running duration corresponding to each step according to the product of the scaling ratio corresponding to each step and the running duration.
[0105] S204. Control the intelligent device to simulate the program run according to the simulated running duration, and monitor the device state of the intelligent device in real time, and locate the fault problem of the intelligent device according to the device state.
[0106] In this step, after obtaining the simulated running duration corresponding to each step according to the running duration, run each step according to the step sequence corresponding to the program and the simulated running duration corresponding to each step, that is, control the intelligent device to start and stop the devices corresponding to each step. At the same time, monitor the device state of the intelligent device when the devices corresponding to each step are running, and analyze and obtain the fault problem of the intelligent device according to the obtained device state.
[0107] S205. If the fault problem of the intelligent device is not located, obtain a general solution from the knowledge base associated with the intelligent device according to the question-and-answer retrieval information, and interact with the user according to the general solution.
[0108] In this step, when the intelligent device still cannot locate the fault problem after starting the self-check mode, in order to avoid affecting the subsequent use of the user, or, the user waits for a long time, which affects the user experience, it is still necessary to control the intelligent device to retrieve information according to the user's questions and answers and interact with the user.
[0109] Furthermore, although the fault problem of the intelligent device has not been located, it is still necessary to make the provided solution fit the intelligent device itself. Therefore, the knowledge base associated with the intelligent device is obtained, and the knowledge base contains the user manual related to the intelligent device. According to the information retrieved by the question and answer, a general solution is obtained from the knowledge base, a guiding script is generated according to the general solution, and the interaction with the user is carried out according to the guiding script.
[0110] S206. Send a repair confirmation message to the user, and determine whether to control the intelligent device to perform a repair operation according to the feedback information of the user.
[0111] In this step, because the general solution is not specific and cannot ensure that the general solution provided by the intelligent device can solve the user's problem. In order not to affect the user's subsequent plan, the intelligent device is controlled to send a repair confirmation message to the user, and it is determined whether to perform a repair according to the feedback information of the user.
[0112] This application provides an abnormal detection control method. When the fault detection process does not detect a fault problem, the program that the intelligent device ran most recently is simulated according to the scaling ratio with a shorter running time to further locate the fault problem. When the fault problem is not located again, the interaction with the user is carried out through the general solution. By the above method, the self-check mode is increased to improve the location accuracy of the fault problem, a more targeted processing solution is obtained, which helps the user solve the problem better and improves the user satisfaction.
[0113] Figure 3 It is a flow diagram of an abnormal detection control method provided by an embodiment of this application Figure 3 。This application embodiment has made a detailed description of how to obtain the operation steps of the abnormal device. As Figure 3 shown, the method includes:
[0114] S301. Analyze the interaction intention of the user according to the information retrieved by the question and answer, obtain the device information of the intelligent device, and obtain the correlation degree between the intelligent device and the information retrieved by the question and answer according to the device information and the interaction intention.
[0115] In this step, when obtaining the user's Q&A retrieval information from the user's interaction application, extract the keywords of the Q&A retrieval information, and analyze the user's interaction intention based on the keywords. At the same time, obtain the device information of the intelligent device. Exemplarily, the device information may include: intelligent device model, function, etc. Obtain the correlation degree between the intelligent device and the Q&A retrieval information according to the device information and the interaction intention. This embodiment does not make any limitation on the method of obtaining the correlation degree according to the device information and the interaction intention, and it can be determined according to the actual situation.
[0116] In a possible implementation manner, obtain the type to which the keyword belongs, obtain the device information of this type of the intelligent device, and obtain the correlation degree according to the number of matches between the device information and the keyword.
[0117] S302. If the correlation degree is greater than or equal to the correlation degree threshold, determine that the abnormal device is the intelligent device.
[0118] In this step, when the correlation degree between the intelligent device and the Q&A retrieval information is relatively large, it can be directly considered that the intelligent device is the abnormal device. Therefore, after obtaining the correlation degree, determine the size relationship between the correlation degree and the correlation degree threshold. When it is determined that the correlation degree is greater than or equal to the correlation degree threshold, it can be determined that the abnormal device is the intelligent device.
[0119] S303. If the correlation degree is less than the correlation degree threshold, obtain the user information according to the interaction application, and obtain multiple candidate devices bound by the user according to the user information. Obtain the abnormal device according to the device information of each candidate device and the interaction intention.
[0120] In this step, when the correlation degree is low, in order to ensure that the abnormal device analyzed and obtained according to the Q&A retrieval information is more accurate, it is necessary to further analyze and obtain the abnormal device from multiple devices associated with the user.
[0121] Specifically, when it is determined that the correlation degree is less than the correlation degree threshold, obtain the user information according to the interaction application, and obtain multiple candidate devices bound by the user information according to the user information. Then obtain the device information of each candidate device, obtain the correlation degree between each candidate device and the Q&A retrieval information according to the device information and the interaction intention, and obtain the abnormal device according to the candidate device with the largest correlation degree and greater than or equal to the correlation degree threshold.
[0122] Furthermore, considering that the correlation degrees of multiple candidate devices may all be less than the correlation degree threshold, it is necessary to further determine the abnormal device through interaction with the user. The specific steps are as follows:
[0123] Generate an abnormal device confirmation script according to the Q&A retrieval information, control the intelligent device to interact with the user according to the abnormal device confirmation script, and obtain the abnormal device according to the interaction result.
[0124] At the same time, since users may not understand the specific functions of smart devices, there may be a situation where the abnormal device cannot be determined even after the interaction between the smart device and the user ends. To ensure that the user's needs are met as soon as possible and to avoid affecting the user's subsequent plans, a general solution can be obtained from the knowledge base according to the interaction content, a guidance script can be generated based on the general solution, and the user can be interacted with according to the guidance script. At the same time, after a preset time, the user is confirmed whether the fault problem has been solved through a confirmation message, and whether a repair operation needs to be performed is determined according to the user's feedback result.
[0125] This application provides an abnormal detection and control method, which analyzes the user's interaction intention according to the question-and-answer retrieval information, determines the association degree with the smart device according to the interaction intention, and determines the abnormal device as the smart device according to the association degree or obtains the abnormal device from the devices associated with the user. Through the above method, the abnormal device that the user needs to solve can be accurately identified, avoiding misidentification and providing wrong handling solutions, and reducing the user's willingness to use.
[0126] Figure 4 This is a schematic structural diagram of an abnormal detection and control device provided by an embodiment of this application. As Figure 4 shown, the device includes: an acquisition module 401, a detection module 402, and a control module 403, where:
[0127] The acquisition module 401 is configured to obtain an abnormal device according to the question-and-answer retrieval information included in the interaction application when the smart device detects that the user initiates an interaction application;
[0128] The detection module 402 is configured to, if the abnormal device and the smart device are the same device, control the smart device to perform detection according to a preset fault detection process, and generate a corresponding processing solution according to the detection result to interact with the user;
[0129] The control module 403 is configured to, if the abnormal device and the smart device are not the same device, control the smart device to send a troubleshooting instruction to the abnormal device, and generate a corresponding processing solution according to the abnormal information fed back by the abnormal device to interact with the user.
[0130] In a possible implementation manner, the detection module 402 is further configured to:
[0131] If a fault problem of the smart device is detected, obtain the processing solution according to the fault problem, generate a guidance script according to the processing solution, and interact with the user according to the guidance script;
[0132] If a fault problem of the smart device is not detected, control the smart device to start a self-check mode, and generate a corresponding processing solution according to the self-check result to interact with the user.
[0133] In a possible implementation, the detection module 402 is further configured to:
[0134] Obtain the program that the intelligent device last ran, and the running duration corresponding to each step in the program;
[0135] Obtain a scaling ratio based on the running duration, and obtain the simulated running duration corresponding to each step according to the scaling ratio;
[0136] Control the intelligent device to simulate the operation of the program according to the simulated running duration, and monitor the device status of the intelligent device in real time, and locate the fault problem of the intelligent device according to the device status.
[0137] In a possible implementation, the detection module 402 is further configured to:
[0138] Obtain the cumulative number of faults of the running device corresponding to each step from the historical fault records of the intelligent device;
[0139] Obtain the scaling ratio corresponding to each step according to the ratio of the running duration corresponding to each step to the total running duration of the program, and the cumulative number of faults corresponding to each step;
[0140] Obtain the simulated running duration corresponding to each step according to the product of the scaling ratio corresponding to each step and the running duration.
[0141] In a possible implementation, the detection module 402 is further configured to:
[0142] Obtain a general solution from the knowledge base associated with the intelligent device according to the Q&A retrieval information, and interact with the user according to the general solution;
[0143] Send a repair confirmation message to the user, and determine whether to control the intelligent device to perform a repair operation according to the feedback information of the user.
[0144] In a possible implementation, the acquisition module 401 is further configured to:
[0145] Analyze the interaction intention of the user according to the Q&A retrieval information, obtain the device information of the intelligent device, and obtain the correlation degree between the intelligent device and the Q&A retrieval information according to the device information and the interaction intention;
[0146] If the correlation degree is greater than or equal to the correlation degree threshold, determine that the abnormal device is the intelligent device;
[0147] If the degree of association is less than the degree-of-association threshold, obtain user information according to the interaction application, obtain multiple candidate devices bound by the user according to the user information, and obtain the abnormal device according to the device information of each candidate device and the interaction intention.
[0148] In a possible implementation manner, the obtaining module 401 is further configured to:
[0149] Generate an abnormal device confirmation script according to the question-and-answer retrieval information, control the intelligent device to interact with the user according to the abnormal device confirmation script, and obtain the abnormal device according to the interaction result.
[0150] Figure 5 The figure is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 5 shown, the electronic device 50 includes: at least one processor 501 and a memory 502, where:
[0151] The memory 502 is used to store computer execution instructions;
[0152] The at least one processor 501 is configured to execute the computer execution instructions stored in the memory 502, so that the at least one processor 501 executes the abnormal detection control method described in any one of the foregoing.
[0153] Among them, the at least one processor 501 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0154] Optionally, in a specific implementation, the processor 501 and the memory 502 are independently implemented, and the processor 501 and the memory 502 may be connected to each other through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0155] Optionally, in a specific implementation, if the processor 501 and the memory 502 are integrated on a single chip, the processor 501 and the memory 502 can communicate through an internal interface.
[0156] This application also provides a computer storage medium storing computer-executable instructions. When the processor executes the computer-executable instructions, the technical solution of the foregoing anomaly detection control method is implemented.
[0157] The above-mentioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk or an optical disc. The computer-readable storage medium can be any available medium accessible by a general-purpose or special-purpose computer.
[0158] An exemplary readable storage medium is coupled to the processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the control device of a laundry treatment device.
[0159] The division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings, direct couplings, or communication connections shown or discussed among each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can be in electrical, mechanical, or other forms.
[0160] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0161] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0162] If the above-mentioned functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs, etc., which can store program codes.
[0163] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: ROMs, RAMs, magnetic disks, or optical discs, etc., which can store program codes.
[0164] 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. 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 foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An abnormal detection control method, characterized in that, The method includes: When the intelligent device detects that the user initiates an interaction request, obtain the abnormal device according to the question-and-answer retrieval information included in the interaction request; If the abnormal device is the same device as the intelligent device, control the intelligent device to perform detection according to a preset fault detection process, and generate a corresponding processing solution according to the detection result to interact with the user; If the abnormal device is not the same device as the intelligent device, control the intelligent device to send a troubleshooting instruction to the abnormal device, and generate a corresponding processing solution according to the abnormal information feedback by the abnormal device to interact with the user.
2. The method according to claim 1, wherein The generating a corresponding processing solution according to the detection result to interact with the user includes: If a fault problem of the intelligent device is detected, obtain the processing solution according to the fault problem, generate a guiding script according to the processing solution, and interact with the user according to the guiding script; If a fault problem of the intelligent device is not detected, control the intelligent device to start a self-check mode, and generate a corresponding processing solution according to the self-check result to interact with the user.
3. The method according to claim 2, wherein The controlling the intelligent device to start a self-check mode includes: Obtain the program that the intelligent device ran last time, and the running duration corresponding to each step in the program; Obtain a scaling ratio according to the running duration, and obtain the simulated running duration corresponding to each step according to the scaling ratio; Control the intelligent device to simulate the program running according to the simulated running duration, and monitor the device state of the intelligent device in real time, and locate the fault problem of the intelligent device according to the device state.
4. The method according to claim 3, wherein The obtaining a scaling ratio according to the running duration, and obtaining the simulated running duration corresponding to each step according to the scaling ratio includes: Obtain the cumulative fault times of the running device corresponding to each step from the historical fault records of the intelligent device; Obtain the scaling ratio corresponding to each step according to the ratio of the running duration corresponding to each step to the total running duration of the program, and the cumulative fault times corresponding to each step; Obtain the simulated running duration corresponding to each step according to the product of the scaling ratio corresponding to each step and the running duration.
5. The method according to claim 4, wherein If the fault problem of the intelligent device is not located, the method further includes: Obtain a general solution from the knowledge base associated with the intelligent device according to the question-and-answer retrieval information, and interact with the user according to the general solution; Send a repair confirmation message to the user, and determine whether to control the intelligent device to perform a repair operation according to the feedback information of the user.
6. The method according to any one of claims 1-5, characterized in that The obtaining the abnormal device according to the question-and-answer retrieval information included in the interaction request includes: Analyze the interaction intention of the user according to the question-and-answer retrieval information, obtain the device information of the intelligent device, and obtain the correlation degree between the intelligent device and the question-and-answer retrieval information according to the device information and the interaction intention; If the correlation degree is greater than or equal to the correlation degree threshold, determine that the abnormal device is the intelligent device; If the degree of association is less than the degree-of-association threshold, user information is obtained according to the interaction application, and a plurality of candidate devices bound by the user are obtained according to the user information. An abnormal device is obtained according to the device information of each candidate device and the interaction intention.
7. The method according to claim 6, wherein If the abnormal device is not obtained according to the degree of association, the method further includes: Generating an abnormal device confirmation script according to the question-and-answer retrieval information, controlling the intelligent device to interact with the user according to the abnormal device confirmation script, and obtaining the abnormal device according to the interaction result.
8. An anomaly detection control device, characterized in that, Including: An acquisition module, a detection module, and a control module, where: The acquisition module is configured to, when the intelligent device detects that a user initiates an interaction application, obtain an abnormal device according to the question-and-answer retrieval information included in the interaction application; The detection module is configured to, if the abnormal device is the same device as the intelligent device, control the intelligent device to perform detection according to a preset fault detection process, and generate a corresponding processing solution for interaction with the user according to the detection result; The control module is configured to, if the abnormal device is not the same device as the intelligent device, control the intelligent device to send a troubleshooting instruction to the abnormal device, and generate a corresponding processing solution for interaction with the user according to the abnormal information fed back by the abnormal device.
9. An electronic device, characterized in that, Including: At least one processor and a memory, where: The memory is used to store computer execution instructions; The at least one processor is configured to execute the computer execution instructions stored in the memory, so that the at least one processor executes the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that, Computer execution instructions are stored in the computer storage medium, and when the computer execution instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 7.