Fault detection method, device, electronic equipment and storage medium
By collecting and matching the audio information of cleaning equipment and identifying the fault type, the problem that the existing technology cannot detect mechanical faults is solved, and more comprehensive and accurate fault detection is achieved, reducing manual intervention.
Patent Information
- Application Number
- CN202210403435.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-18
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-04-18
AI Technical Summary
The fault detection of existing cleaning appliances mainly relies on electrical signal detection, and cannot effectively detect mechanical faults, such as loose shock absorbers or missing fixing bolts, which leads to manual inspection and waste of manpower.
By collecting the audio information generated by the cleaning device in the current working mode and matching it with the preset conditions, determine whether the device has a fault and output the fault prompt information. The method includes a collection unit, a determination unit and a prompt unit, and uses audio information to identify the fault type and fault status.
Accurate detection of mechanical device failures is achieved, comprehensiveness and accuracy of fault detection is improved, the necessity of manual inspection is reduced, and the intelligence of equipment failure detection is improved.
Smart Images

Figure CN114882908B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic equipment technology but is not limited to the field of electronic equipment technology, and in particular to a fault detection method, device, electronic equipment and storage medium. Background Art
[0002] In current cleaning household appliances, such as washing machines or dryers, fault detection is often performed by detecting damage or abnormality of circuits or components through electrical signal detection. For example, the central processor in the device issues relevant instructions to detect the working status of components based on the acquired status data or component operating parameters. However, the method of detecting faults through the transmission parameters of electrical signals can often only detect faults of electronic components. Mechanical faults in cleaning equipment, such as loose shock absorbers or missing fixing bolts, cannot be determined through electrical signal transmission detection, which often requires manual inspection and wastes manpower. Summary of the invention
[0003] The embodiments of the present disclosure disclose a fault detection method, a device, an electronic device, and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a fault detection method is provided, which is performed by a cleaning device, and the method includes:
[0005] Collecting first audio information generated by the cleaning device in the current working mode;
[0006] Determining whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode;
[0007] If the cleaning device fails, a failure prompt message is output.
[0008] In one embodiment, the determining whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode includes:
[0009] According to the working mode, determining preset audio information corresponding to the working mode;
[0010] matching the first audio information with the preset audio information;
[0011] According to the matching result between the first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0012] In one embodiment, determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes:
[0013] If the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, it is determined that the cleaning device has no fault;
[0014] If the first audio information does not match the preset audio information indicating that the cleaning device is operating in a fault-free state, it is determined that the cleaning device has a fault.
[0015] In one embodiment, the method further comprises:
[0016] If the cleaning device has a fault, the type of fault of the cleaning device is determined based on the first audio information.
[0017] In one embodiment, the outputting of fault prompt information includes:
[0018] Based on the type of fault existing in the cleaning device, fault prompt information is output.
[0019] In one embodiment, determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes:
[0020] If the first audio information matches the preset audio information when the cleaning device is in the running state with a preset type of fault, it is determined that the cleaning device has a preset type of fault.
[0021] In one embodiment, determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes:
[0022] According to the matching result of the first frequency of the first audio information and the second frequency of the preset audio information, it is determined whether the cleaning device has a fault.
[0023] In one embodiment, determining whether the cleaning device has a fault according to a matching result between the first frequency of the first audio information and the second frequency of the preset audio information includes:
[0024] Generate a first frequency change curve based on a frequency range and a frequency change trend of the first frequency of the first audio information within a preset time length;
[0025] Whether the cleaning device has a fault is determined based on the matching result of the first frequency change curve and the second frequency change curve; the second frequency change curve indicates the frequency range and frequency change trend of the second frequency of the preset audio information within a preset time length.
[0026] In one embodiment, determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes:
[0027] Obtaining the weight of the contents currently contained in the cleaning device;
[0028] Based on the weight of the contained object and the standard weight corresponding to the preset audio information, the first audio information is modified;
[0029] According to the matching result between the corrected first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0030] In one embodiment, the collecting of first audio information generated by the cleaning device in the current working mode includes:
[0031] The first audio information generated by the cleaning device in the current working mode is determined according to the sound collected by the cleaning device in the current working mode and the environmental noise collected when the cleaning device is stopped.
[0032] According to a second aspect of an embodiment of the present disclosure, there is provided a fault detection device, which is applied to a cleaning device, and the device comprises:
[0033] A collection unit, used for collecting first audio information generated by the cleaning device in a current working mode;
[0034] a determination unit, configured to determine whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode;
[0035] The prompt unit is used to output fault prompt information if the cleaning device fails.
[0036] In one embodiment, the determining unit is specifically configured to:
[0037] According to the working mode, determining preset audio information corresponding to the working mode;
[0038] matching the first audio information with the preset audio information;
[0039] According to the matching result between the first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0040] In one embodiment, the determining unit is specifically configured to:
[0041] If the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, it is determined that the cleaning device has no fault;
[0042] If the first audio information does not match the preset audio information indicating that the cleaning device is operating in a fault-free state, it is determined that the cleaning device has a fault.
[0043] In one embodiment, the determining unit is further configured to:
[0044] If the cleaning device has a fault, the type of fault of the cleaning device is determined based on the first audio information.
[0045] In one embodiment, the prompt unit is specifically used to:
[0046] Based on the type of fault existing in the cleaning device, fault prompt information is output.
[0047] In one embodiment, the determining unit is specifically configured to:
[0048] If the first audio information matches the preset audio information when the cleaning device is in the running state with a preset type of fault, it is determined that the cleaning device has a preset type of fault.
[0049] In one embodiment, the determining unit is specifically configured to:
[0050] According to the matching result of the first frequency of the first audio information and the second frequency of the preset audio information, it is determined whether the cleaning device has a fault.
[0051] In one embodiment, the determining unit is specifically configured to:
[0052] Generate a first frequency change curve based on a frequency range and a frequency change trend of the first frequency of the first audio information within a preset time length;
[0053] Whether the cleaning device has a fault is determined based on the matching result of the first frequency change curve and the second frequency change curve; the second frequency change curve indicates the frequency range and frequency change trend of the second frequency of the preset audio information within a preset time length.
[0054] In one embodiment, the determining unit is specifically configured to:
[0055] Obtaining the weight of the contents currently contained in the cleaning device;
[0056] Based on the weight of the contained object and the standard weight corresponding to the preset audio information, the first audio information is modified;
[0057] According to the matching result between the corrected first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0058] In one embodiment, the acquisition unit is specifically used to:
[0059] The first audio information generated by the cleaning device in the current working mode is determined based on the sound collected by the cleaning device in the current working mode and the environmental noise collected when the cleaning device is stopped.
[0060] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0061] processor;
[0062] a memory for storing instructions executable by the processor;
[0063] The processor is configured to implement the method described in any embodiment of the present disclosure when running the executable instructions.
[0064] According to a fourth aspect of an embodiment of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer executable program, and when the executable program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.
[0065] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0066] In the disclosed embodiment, the first audio information generated by the cleaning device in the current working mode is collected; based on the matching result of the first audio information and the preset conditions corresponding to the working mode, it is determined whether the cleaning device has a fault; if the cleaning device has a fault, a fault prompt information is output. In this way, according to the audio information generated when the cleaning device is running, it is compared with the preset conditions corresponding to the current working mode, so that it can be accurately determined whether the operating status of the cleaning device is normal in the current working mode, so as to output a prompt information when a fault exists, so as to prompt the user or maintenance personnel to perform repairs in time. Therefore, it is possible to effectively detect mechanical device faults that cannot be detected by electronic detection means, thereby improving the comprehensiveness of fault detection, and accurately determine the corresponding preset conditions for different working modes, reduce the impact of working mode differences on the generated audio information, reduce the inconvenience of manual fault detection, and improve the accuracy and intelligence of equipment fault detection.
[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0069] Figure 1 The figure is a flowchart of a fault detection method according to an exemplary embodiment.
[0070] Figure 2 The figure is a flowchart of a fault detection method according to an exemplary embodiment.
[0071] Figure 3 The figure is a flowchart of a fault detection method according to an exemplary embodiment.
[0072] Figure 4 It is a structural diagram of an intelligent control system according to an exemplary embodiment.
[0073] Figure 5 The figure is a flowchart of a fault detection method according to an exemplary embodiment.
[0074] Figure 6 It is a structural schematic diagram of a fault detection device according to an exemplary embodiment.
[0075] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0076] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0077] In order to facilitate the understanding of those skilled in the art, the embodiments of the present disclosure list multiple implementation methods to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art can understand that the multiple embodiments provided by the embodiments of the present disclosure can be executed separately, or can be executed together with the methods of other embodiments of the embodiments of the present disclosure, or can be executed together with some methods in other related technologies separately or in combination; the embodiments of the present disclosure do not limit this.
[0078] like Figure 1 As shown, in this embodiment, a fault detection method is provided, which is performed by a cleaning device, and the method includes:
[0079] S110: Collecting first audio information generated by the cleaning device in the current working mode;
[0080] S120: determining whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode;
[0081] S130: If the cleaning device fails, a failure prompt message is output.
[0082] In some embodiments, the cleaning device may be a device for cleaning objects placed in the device, such as a washing machine, a clothing disinfecting device, or a dryer.
[0083] In other embodiments, the cleaning device may also include: floor cleaning equipment, etc., for example, a sweeping robot, etc.
[0084] In the embodiment of the present disclosure, the first audio information is used to indicate the sound generated when the cleaning device is running. For example, it can be generated according to the sound of vibration generated when the cleaning device is running. Exemplarily, the first audio information can be obtained by an audio collection device such as a microphone. Here, the audio collection device can be set in the cleaning device, or it can be an independent audio collection device set near the cleaning device.
[0085] The working mode may include the cleaning process link that the cleaning device is currently in, such as the washing, rinsing or dehydration mode in the running state of the washing machine. For another example, the working mode may also include a working mode for specific contents, such as a working mode for washing woolen clothes.
[0086] In one embodiment, the preset condition may be preset audio information generated when the cleaning device operates without fault in the working mode, and / or preset audio information generated when the cleaning device operates with a fault or a preset type of fault in the working mode.
[0087] In another embodiment, the preset condition may be at least one of the frequency, volume and wavelength of the preset audio information generated by the cleaning device operating without fault in the said working mode, and / or at least one of the frequency, volume and wavelength of the preset audio information generated by the cleaning device operating with a fault or a preset type of fault in the said working mode.
[0088] Exemplarily, the preset condition may indicate at least one of a frequency range, an upper frequency limit, a lower frequency limit, and a frequency change trend of the preset audio information;
[0089] Exemplarily, the preset condition may indicate at least one of a volume range, a volume upper limit value, a volume lower limit value, and a volume change trend of the preset audio information;
[0090] Exemplarily, the preset condition may preset at least one of an indicated wavelength range, a wavelength upper limit value, a wavelength lower limit value, and a wavelength variation trend of the audio information.
[0091] In one embodiment, determining whether the cleaning device has a fault based on the matching result of the first audio information and the preset condition corresponding to the working mode may include determining whether the cleaning device has a fault based on the matching result of the first audio information and the preset audio information corresponding to the working mode. For example, by comparing the first audio information with the preset audio information corresponding to the characterization of the trouble-free operation of the device, if there is no match, it is determined that the cleaning device has a fault.
[0092] For another example, determining whether there is a fault in the cleaning device based on the matching result of the first audio information and the preset conditions corresponding to the working mode may also include: comparing the first audio information with the preset audio information corresponding to the working mode that indicates that the device has a faulty operation, and if they match, determining that there is a fault in the cleaning device.
[0093] Here, the preset audio information can be stored in the data processing module of the cleaning device or in the cloud server.
[0094] In one embodiment, step S120 may include: determining whether the cleaning device has a fault based on the matching result of the frequency and / or volume of the first audio information with the preset condition corresponding to the working mode. The volume may be determined according to the amplitude of the sound wave corresponding to the first audio information. For example, if the frequency of the first audio information exceeds the upper frequency limit corresponding to the working mode, and / or the volume of the first audio information exceeds the upper volume limit corresponding to the working mode, it is determined that the cleaning device has a fault.
[0095] Here, the volume may be an average volume of the first audio information, or a maximum volume of the first audio information, or a volume value that appears most frequently in the first audio information.
[0096] Here, the upper frequency limit and / or the upper volume limit may be determined based on the frequency value and / or the volume value of the sound generated when the cleaning device is operating in the working mode when the weight of the contents reaches the maximum weight.
[0097] For example, taking the cleaning equipment as a washing machine, the volume upper limit value corresponding to the dehydration mode is higher than the volume upper limit value corresponding to the washing mode. Therefore, by comparing according to the upper limit values corresponding to the working modes, it can reduce the misjudgment of a fault due to mode mismatch during the comparison process.
[0098] Here, the frequency upper limit value and the frequency lower limit value can be determined by testing, for example, in the test, according to the corresponding frequency in the faulty operation state. Exemplarily, it is determined according to the first frequency average value corresponding to the faulty operation, for example, the frequency upper limit value can be 150% of the first frequency average value, and the frequency lower limit value can be 50% of the first frequency average value. The volume upper limit value and the volume lower limit value can be determined according to the first volume average value corresponding to the faulty operation, for example, the volume upper limit value can be 150% of the first volume average value, and the volume lower limit value can be 50% of the first volume average value.
[0099] In one embodiment, the upper frequency limit and the lower frequency limit can be determined according to the second frequency average value corresponding to the fault-free operation, for example, the upper frequency limit can be 150% of the second frequency average value, and the lower frequency limit can be 50% of the second frequency average value. The upper volume limit and the lower volume limit can be determined according to the second volume average value corresponding to the fault-free operation, for example, the upper volume limit can be 150% of the second volume average value, and the lower volume limit can be 50% of the second volume average value.
[0100] In one embodiment, determining whether a cleaning device has a fault based on the frequency and / or volume of the first audio information may further include: determining the working mode of the cleaning device; if the frequency of the first audio information is lower than the lower frequency limit corresponding to the working mode, and / or the volume of the first audio information is lower than the lower volume limit corresponding to the working mode, then determining that the cleaning device has a fault. In one embodiment, determining whether the cleaning device has a fault based on the matching result of the first audio information and the preset conditions corresponding to the working mode may include: if there is a first volume value in the first audio information whose volume is higher than the upper volume limit corresponding to the working mode or the volume reaches a preset volume value, and the first volume value is periodically distributed in the first audio information, then determining that the cleaning device has a fault. Wherein, the periodic distribution can be that the time interval between each two occurrences remains unchanged.
[0101] In one embodiment, determining whether the cleaning device has a fault based on the matching result of the first audio information and the preset conditions corresponding to the working mode may include: if there is a first volume value in the first audio information whose frequency is higher than the upper limit frequency value corresponding to the working mode or the frequency reaches a preset frequency value, and the first volume value is periodically distributed in the first audio information, then it is determined that the cleaning device has a fault.
[0102] For example, during the installation process, the fixing and transporting screws of the cleaning device are not removed, resulting in additional noise during operation. In this case, the volume or frequency of the first audio information may be higher than that during normal operation.
[0103] In one embodiment, determining whether a cleaning device has a fault is based on a matching result between the frequency and / or volume of the first audio information and a preset condition corresponding to the working mode, and may also include: if the frequency of the first audio information is lower than the frequency lower limit value corresponding to the working mode, and / or the volume of the first audio information is lower than the volume lower limit value corresponding to the working mode, determining that a cleaning device has a fault.
[0104] For example, when the cleaning device is a washing machine, the presence of an obstruction in the drum causes the operating speed to decrease, and the frequency and / or volume of the sound generated is lower than the frequency and / or volume of the sound generated during normal operation in the working mode.
[0105] In one embodiment, step S120 may include: determining the frequency and / or volume change trend of the sound generated by the cleaning device in the operating state according to the first audio information; and determining whether the cleaning device has a fault based on the matching result of the frequency and / or volume change trend with the preset condition corresponding to the working mode. For example, a frequency change curve and / or volume change curve is generated based on the first audio information, and a frequency change trend and / or volume change trend is determined according to the frequency change curve and / or volume change curve.
[0106] Here, the frequency change trend and / or volume change trend can be used to characterize the increase or decrease amplitude, increase or decrease rate, and value range of the sound frequency and / or volume generated by the operation of the cleaning device within a certain period of time. The preset condition corresponding to the working mode can be the frequency change trend and / or volume change trend of the preset audio information generated by the trouble-free operation in the working mode, and / or the frequency change trend and / or volume change trend of the preset audio information generated by the operation with a fault or a preset type of fault in the working mode.
[0107] For example, if the cleaning equipment is a washing machine, a fixing bolt for transportation is not removed during installation. During the operation of the washing machine, the bolt gradually loosens, which causes the additional noise volume to gradually increase during operation. Therefore, based on the trend of the volume change, it can be determined that there is a fault.
[0108] In one embodiment, step S120 may further include: determining whether the cleaning device has a fault by inputting the first audio information into a preset neural network model. The preset neural network model may be trained by preset conditions corresponding to a plurality of working modes, for example, by the second audio information corresponding to the cleaning device running without fault in different working modes, and the third audio information corresponding to the cleaning device running with fault in different working modes.
[0109] In one embodiment, after step S120, the method may further include: if there is a fault in the cleaning device, determining the fault type based on the first audio information. For example, comparing the first audio information with a plurality of third audio information corresponding to the preset type of fault operation of the cleaning device, the fault type is determined. Among them, the third audio information and the fault type may have a corresponding relationship. For example, the fault type may include: the fixing transport screws are not removed, one or more fixing bolts are not removed, the shock absorber is not securely fixed, the bottom bracket is not removed, and the footing is not unequal, and each fault type may correspond to a third audio information.
[0110] In one embodiment, step S130 may include: if there is a fault in the cleaning device, outputting fault prompt information based on the fault type and / or device identification. For example, outputting fault prompt information with the fault type to the user, and / or outputting fault prompt information with the fault type and device identification to the maintenance personnel. The device identification may represent the geographical location information of the cleaning device and / or the user's contact information, etc., so that the maintenance personnel can contact the user for timely maintenance.
[0111] In one embodiment, step S130 may include: if there is a fault in the cleaning device, the cleaning device itself outputs or outputs a fault prompt message to a predetermined device. Wherein, the maintenance personnel may be the personnel responsible for repairing the equipment of the cleaning device manufacturer or seller. For example, if there is a fault in the cleaning device, the fault prompt message is output to the user and / or maintenance personnel according to the fault type.
[0112] For example, when the fault type is a fault that is easy to repair, such as the bottom bracket is not removed or the fixing bolt is not removed, a fault prompt message can be output to the user. When the fault type is a fault that is difficult to repair, such as the shock absorber is not fixed or there is a blocking foreign object, a fault prompt message can be output to the maintenance personnel.
[0113] In one embodiment, the fault prompt information can be used to prompt the user that the current cleaning device has a fault, and to determine whether to stop the operation of the cleaning device. For example, if it is detected that the user has performed a predicted operation on the option "whether to stop operation" in the fault prompt information, such as selecting the option "yes", the operation of the cleaning device is stopped.
[0114] In another embodiment, step S130 may also include: if there is a fault in the cleaning device, determining whether to stop the running state of the cleaning device based on the fault type and / or the first audio information, and outputting a fault prompt message. For example, if the fault type is a specific fault type that does not cause danger, such as the bottom bracket is not removed or the fixed transport screws are not removed, or the volume of the first audio information does not reach the preset alarm threshold, the operation will not be stopped; if the fault type is a specific fault type that is easy to cause danger, such as the shock absorber is loose or there is a blocking foreign object, or the volume of the first audio information reaches the preset alarm threshold, the cleaning device is forced to stop running.
[0115] Here, if the volume reaches the preset alarm threshold, it can indicate that the sound intensity generated by the operation of the cleaning equipment is too high, which will cause adverse effects such as noise interference or noise pollution. At this time, the operation of the cleaning equipment needs to be stopped.
[0116] In this way, by determining whether there is a fault based on the audio information generated when the cleaning equipment is running, mechanical device faults that cannot be detected by electrical signal technology can be accurately detected, thereby improving the comprehensiveness of cleaning equipment fault detection. Determining the corresponding preset conditions based on the current working mode of the cleaning equipment can further improve the matching accuracy of the first audio information and reduce false fault detection caused by different working modes. On this basis, the inconvenience of manually checking the mechanical faults of the equipment can be reduced, thereby improving the intelligence of fault detection.
[0117] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0118] In some embodiments, Figure 2 As shown, the S120 may include:
[0119] S121: Determine preset audio information corresponding to the working mode according to the working mode;
[0120] S122: Matching the first audio information with the preset audio information;
[0121] S123: Determine whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information.
[0122] In the disclosed embodiment, the preset audio information may be pre-stored in a data processing module in the cleaning device, or may be stored in a server or application, such as a smart home control program, etc. The preset audio information may include: preset audio information corresponding to a fault-free operation state of the cleaning device, and / or preset audio information corresponding to a faulty operation state of the cleaning device.
[0123] In one embodiment, each operating mode may correspond to one or more preset audio information. For example, the washing mode corresponds to a preset audio information corresponding to a fault-free operating state in the washing mode, and / or corresponds to a preset audio information corresponding to a faulty operating state in the washing mode.
[0124] In another embodiment, each working mode may correspond to a plurality of preset audio information in a faulty operation state. For example, a washing mode corresponds to a plurality of preset audio information in a faulty operation state of a preset type. Exemplarily, the preset audio information may include preset audio information in a washing mode with a type a faulty operation, preset audio information in a washing mode with a type b faulty operation, and preset audio information in a washing mode with a type c faulty operation, etc.
[0125] In another embodiment, each working mode may correspond to preset audio information in multiple stages of trouble-free operation. For example, the preset audio information may include: preset audio information corresponding to trouble-free operation of the cleaning device within 0-5 minutes of entering the washing mode, preset audio information corresponding to trouble-free operation of the cleaning device within 6-15 minutes of entering the washing mode, and preset audio information corresponding to trouble-free operation of the cleaning device after 16 minutes of entering the washing mode, etc.
[0126] In another embodiment, each working mode may correspond to preset audio information of preset types of fault operation in multiple stages. For example, the preset audio information may include: preset audio information corresponding to type a fault operation within 0-5 minutes of the cleaning device entering the washing mode, preset audio information corresponding to type b fault operation within 0-5 minutes of the cleaning device entering the washing mode, preset audio information corresponding to type a fault operation within 6-15 minutes of the cleaning device entering the washing mode, and preset audio information corresponding to type b fault operation within 6-15 minutes of the cleaning device entering the washing mode, etc.
[0127] In one embodiment, determining the preset audio information according to the working mode may include: determining the preset audio information corresponding to the working mode. For example, determining the preset audio information corresponding to the trouble-free operation of the cleaning device in the working mode, and / or determining the preset audio information corresponding to the operation of the cleaning device with a preset type of trouble in the working mode.
[0128] In one embodiment, the preset audio information is determined according to the working mode, and can also be determined according to the operating time of the cleaning device in the working mode. For example, if the operating time of the cleaning device in the working mode is 3 minutes, the preset audio information is determined to be the preset audio information corresponding to the trouble-free operation of the cleaning device within 0-5 minutes of entering the washing mode, and / or the preset audio information corresponding to the operation of the cleaning device with a preset type of fault within 0-5 minutes of entering the washing mode.
[0129] In one embodiment, the preset audio information may further include: preset audio information corresponding to the running state of the cleaning device indicating that there is a preset type of fault. That is, each preset type of fault has a corresponding preset audio information. In this way, based on the preset audio information matching the first audio information, it can be determined that there is a fault in the cleaning device, and the fault type can be determined to be the corresponding preset type.
[0130] In one embodiment, the preset audio information may further include: preset audio information corresponding to a fault-free operation state of the cleaning device in multiple operating modes, and / or preset audio information corresponding to a faulty operation state of the cleaning device in multiple operating modes. Matching the first audio information with the preset audio information may also be matching the first audio information with the preset audio information corresponding to the current operating mode of the cleaning device.
[0131] In one embodiment, the preset audio information may also include: preset audio information corresponding to the operating state of the cleaning device with preset type faults in multiple working modes. For example, the preset audio information may include preset audio information corresponding to type a fault in working mode A, preset audio information corresponding to type a fault in working mode B, preset audio information corresponding to type b fault in working mode A, and preset audio information corresponding to type b fault in working mode B.
[0132] In one embodiment, S122 may include: determining whether the cleaning device has a fault according to whether the first audio information matches the preset audio information; or determining whether the cleaning device has a fault according to the matching degree or similarity between the first audio information and the preset audio information. For example, if the first audio information matches the preset audio information indicating that the cleaning device operates without fault, or the similarity between the first audio information and the preset audio information indicating that the cleaning device operates without fault reaches a preset matching threshold, it is determined that the cleaning device has no fault.
[0133] The preset matching threshold may be a similarity threshold that indicates that the first audio information matches the preset audio information, for example, it may be 85%, 90% or 95%.
[0134] In one embodiment, S122 may include: if the first audio information does not match the preset audio information corresponding to the fault-free running state (ie, normal state) of the cleaning device or the similarity is lower than a preset matching threshold, determining that the cleaning device has a fault.
[0135] In another embodiment, S122 may further include: if the first audio information matches the preset audio information corresponding to the faulty operation state of the cleaning device or the similarity is higher than a preset matching threshold, determining that the cleaning device is faulty.
[0136] In another embodiment, S122 may also include: if the first audio information matches the preset audio information corresponding to the faulty operation state of the cleaning device or the similarity is higher than the preset matching threshold, then the first audio information is compared with the preset audio information corresponding to the fault-free operation state of the cleaning device in multiple working modes; if the first audio information matches the preset audio information corresponding to the fault-free operation state of the cleaning device in one working mode, then it is determined that the cleaning device does not have a fault. In this way, when it is detected that the audio information generated by the operation of the cleaning device matches the fault audio information, it can be determined whether it is because the cleaning device is in a normal working mode that generates high-decibel or high-frequency noise, thereby reducing the misjudgment of equipment failure.
[0137] In this way, by comparing with the preset audio information, the extraction and analysis of the first audio information parameters can be reduced, the detection efficiency of determining the fault based on the first audio information can be further improved, and the accuracy of fault detection can be improved.
[0138] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0139] In some embodiments, the S123 may include:
[0140] If the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, it is determined that the cleaning device has no fault;
[0141] and / or,
[0142] If the first audio information does not match the preset audio information indicating that the cleaning device is operating in a fault-free state, it is determined that the cleaning device has a fault.
[0143] In the embodiment of the present disclosure, the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, and the first audio information within a preset duration matches the preset audio information indicating that the cleaning device is in a fault-free operating state within a preset duration. For example, the preset duration can be determined based on the running time of the cleaning device entering the current working mode, or can also be determined based on the duration corresponding to the preset audio information or the duration of entering the operating state.
[0144] Exemplarily, the preset audio information indicating that the cleaning device is in a trouble-free operating state is the audio information generated 0-3 minutes after the cleaning device enters the operating state without trouble, and the preset duration may also be 0-3 minutes after the cleaning device enters the operating state.
[0145] In one embodiment, the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, and the similarity between the first audio information and the preset audio information indicating that the cleaning device is in a fault-free operating state is greater than or equal to a preset matching threshold. For example, when the similarity between the first audio information and the preset audio information indicating that the cleaning device is in a fault-free operating state is greater than or equal to 90%, it is determined that there is no fault in the cleaning device.
[0146] In one embodiment, the first audio information does not match the preset audio information indicating that the cleaning device is in a fault-free operating state, and the similarity between the first audio information and the preset audio information indicating that the cleaning device is in a fault-free operating state is less than a preset matching threshold. For example, when the similarity between the first audio information and the preset audio information indicating that the cleaning device is in a fault-free operating state is less than 90%, it is determined that the cleaning device has a fault.
[0147] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0148] In some embodiments, the method further comprises:
[0149] If the cleaning device has a fault, the type of fault of the cleaning device is determined based on the first audio information.
[0150] In the embodiments of the present disclosure, the fault type of the cleaning device is determined based on the first audio information. The fault type of the cleaning device can be determined based on the frequency and / or volume of the first audio information, or the fault type can be determined based on preset audio information corresponding to an indication of a preset type of fault in the cleaning device that matches the first audio information.
[0151] In one embodiment, the fault type of the cleaning equipment is determined based on the frequency and / or volume of the first audio information. The fault type of the cleaning equipment can be determined based on the comparison results of the frequency of the first audio information and the audio frequencies corresponding to multiple fault types, and / or based on the comparison results of the volume of the first audio information and the audio volumes corresponding to multiple fault types.
[0152] The audio frequency or audio volume corresponding to the fault type may be the frequency or volume of audio information generated by the cleaning device when the cleaning device is in an operating state with this type of fault.
[0153] In one embodiment, determining the fault type of the cleaning equipment based on a comparison result of the frequency of the first audio information with the audio frequencies corresponding to multiple fault types may include: if the difference between the frequency of the first audio information and the audio frequency corresponding to the fault type is within a preset range, or the difference between the frequency of the first audio information and the audio frequency corresponding to the fault type within a second time length are both within a preset range, then determining that the fault type of the cleaning equipment is this fault type.
[0154] Here, the second duration may be the duration corresponding to the first audio information, or may be a fixed value, such as 10s, 20s, or 1min.
[0155] In one embodiment, determining the fault type of the cleaning equipment based on a comparison result of the volume of the first audio information and the audio volumes corresponding to multiple fault types may include: if the difference between the volume of the first audio information and the audio volume corresponding to the fault type is within a preset range, or the difference between the volume of the first audio information and the audio volume corresponding to the fault type within a second time length are both within a preset range, then determining that the fault type of the cleaning equipment is this fault type.
[0156] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0157] In some embodiments, the outputting of fault prompt information includes:
[0158] Based on the type of fault existing in the cleaning device, fault prompt information is output.
[0159] In the disclosed embodiment, the fault prompt information is output based on the fault type of the cleaning device, and the fault prompt information can be output based on the fault type and / or the device identification. For example, the fault prompt information with the fault type is output to the user, and / or the fault prompt information with the fault type and the device identification is output to the maintenance personnel. The device identification can represent the geographical location information of the cleaning device and / or the user's contact information, etc., so that the maintenance personnel can contact the user for timely maintenance.
[0160] In one embodiment, outputting fault prompt information based on the fault type of the cleaning device may include: outputting fault prompt information to a user and / or maintenance personnel based on the fault type of the cleaning device. The maintenance personnel may be a person responsible for repairing the equipment at a cleaning device manufacturer or seller.
[0161] For example, when the fault type is a fault that is easy to repair, such as the bottom bracket is not removed or the fixing bolt is not removed, a fault prompt message can be output to the user. When the fault type is a fault that is difficult to repair, such as the shock absorber is not fixed or there is a blocking foreign object, a fault prompt message can be output to the maintenance personnel.
[0162] In one embodiment, the fault prompt information can be used to prompt the user the type of fault that exists in the current cleaning device, and to determine whether to stop the operation of the cleaning device. For example, if it is detected that the user has performed a predicted operation on the option "whether to stop operation" in the fault prompt information, such as selecting the option "yes", the operation of the cleaning device is stopped.
[0163] In another embodiment, outputting fault prompt information based on the type of fault existing in the cleaning device may also include: determining whether the output fault prompt information is used to prompt the user to stop the operation of the cleaning device based on the type of fault existing in the cleaning device. For example, if the fault type is a type that will not cause danger, such as the bottom bracket is not removed or the fixed transportation screws are not removed, then the output fault prompt information is not used to prompt the user to stop the operation of the cleaning device. If the fault type is a type that is likely to cause danger, such as the shock absorber is loose or there is a blocking foreign object, then the output fault prompt information is used to prompt the user to stop the operation of the cleaning device.
[0164] In this way, fault prompt information can be used to quickly provide users and maintenance personnel with relevant information such as the fault type, facilitating timely troubleshooting and improving equipment operation safety.
[0165] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0166] In some embodiments, the S123 may include:
[0167] If the first audio information matches the preset audio information when the cleaning device is in the running state with a preset type of fault, it is determined that the cleaning device has a preset type of fault.
[0168] In the embodiment of the present disclosure, the cleaning device has preset audio information in the running state of preset type fault, which can indicate the audio information generated when the cleaning device runs with preset type fault. The preset type may include at least one fault type, such as: the fixing transport screws are not removed, one or more fixing bolts are not removed, the shock absorber is not firmly fixed, the bottom bracket is not removed, and the footing is not unequal.
[0169] In one embodiment, the first audio information matches the preset audio information when the cleaning device has a preset type of fault operation state, and the similarity between the first audio information and the preset audio information when the cleaning device has a preset type of fault operation state is greater than or equal to a preset matching threshold. For example, when the similarity between the preset audio information when the cleaning device has a type a fault operation state is greater than or equal to 90%, it is determined that the current cleaning device has a type a fault.
[0170] In one embodiment, the first audio information matches the preset audio information of the cleaning device in a preset type of fault operating state, and the similarity between the first audio information and the preset audio information of the cleaning device in a preset type of fault operating state within a preset time length is greater than or equal to a preset matching threshold.
[0171] In one embodiment, the first audio information matches the preset audio information when the cleaning device has a preset type of fault operating state. The first frequency of the first audio information matches the frequency of the preset audio information when the cleaning device has a preset type of fault operating state, or the first volume of the first audio information matches the volume of the preset audio information when the cleaning device has a preset type of fault operating state.
[0172] In this way, when setting the preset audio information, a correspondence between the preset audio information and the preset type of fault is established, so that the corresponding fault type can be quickly matched based on the first audio information, thereby improving the efficiency of fault detection.
[0173] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0174] In some embodiments, the S123 may include:
[0175] According to the matching result of the first frequency of the first audio information and the second frequency of the preset audio information, it is determined whether the cleaning device has a fault.
[0176] In the embodiment of the present disclosure, the matching result of the first frequency and the second frequency may be the matching result of the first frequency and the second frequency within a preset time length, for example, determining the matching result of the first frequency of the first audio information within 0-3 minutes of entering the running state and the second frequency of the preset audio information.
[0177] In one embodiment, the matching result of the first frequency and the second frequency may be whether the difference between the first frequency and the second frequency is within a preset range, or whether the difference between the first frequency and the second frequency is continuously within a preset range within a preset time period.
[0178] If the difference between the first frequency and the second frequency is within a preset range, or if the difference between the first frequency and the second frequency remains within the preset range for a preset period of time, it is determined that the first frequency matches the second frequency, and further that a fault exists in the cleaning device.
[0179] In one embodiment, the matching result of the first frequency and the second frequency can be whether the first frequency change trend of the first frequency matches the second frequency change trend of the second frequency. For example, the first frequency and the second frequency within a preset time period can be input into a preset neural network model to determine the matching degree of the first frequency and the second frequency. When the matching degree is higher than a preset value, the first frequency matches the second frequency, and then it is determined that the cleaning device is faulty.
[0180] The neural network model preset here can be trained based on the first frequency samples and the second frequency samples of the preset duration to learn the matching degree between the first frequency change trend and the second frequency change trend.
[0181] In this way, based on the frequency matching between the first audio information and the preset audio information, it can be more accurately determined whether the first audio information matches the preset audio information, thereby improving the accuracy of fault detection.
[0182] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0183] In some embodiments, determining whether the cleaning device has a fault according to a matching result between the first frequency of the first audio information and the second frequency of the preset audio information includes:
[0184] Generate a first frequency change curve based on a frequency range and a frequency change trend of the first frequency of the first audio information within a preset time length;
[0185] Whether the cleaning device has a fault is determined based on the matching result of the first frequency change curve and the second frequency change curve; the second frequency change curve indicates the frequency range and frequency change trend of the second frequency of the preset audio information within a preset time length.
[0186] In the embodiment of the present disclosure, the preset duration can be a fixed value, or can be determined according to the total duration corresponding to the current working mode of the cleaning device. For example, if the total duration of the current working mode is 30 minutes, the preset duration can be determined to be 1 minute, etc.
[0187] In one embodiment, when the preset audio information is the preset audio information corresponding to the fault-free operation of the cleaning device, if the first frequency change curve matches the second frequency change curve or the similarity is higher than or equal to the preset matching threshold, it is determined that the cleaning device has no fault. If the first frequency change curve does not match the second frequency change curve or the similarity is lower than the preset matching threshold, it is determined that the cleaning device has a fault.
[0188] In one embodiment, when the preset audio information is the preset audio information corresponding to the operation of the cleaning device with a preset type of fault, if the first frequency change curve matches the second frequency change curve or the similarity is higher than or equal to a preset matching threshold, it is determined that the cleaning device has a preset type of fault. If the first frequency change curve does not match the second frequency change curve or the similarity is lower than the preset matching threshold, it is determined that the cleaning device has a fault.
[0189] In one embodiment, the first frequency change curve matches the second frequency change curve, and the change trend of the first frequency change curve and the second frequency change curve within a preset number of sub-time lengths is the same or the similarity is higher than a preset value. The preset number can be a fixed value, or it can be determined according to a preset time length. For example, if the preset time length is 1 minute, the preset number can be determined to be 10. The sub-time length is a time period within the preset time length, and can be determined according to the preset time length. For example, when the preset time length is 1 minute, each sub-time length can be 3 seconds.
[0190] In one embodiment, the first frequency variation curve matches the second frequency variation curve, and the difference between the frequency average values of the first frequency variation curve and the second frequency variation curve is lower than the first difference. Here, the first difference can be determined according to the frequency range of the preset audio information.
[0191] In one embodiment, the first frequency variation curve matches the second frequency variation curve, and the maximum frequency difference between the first frequency variation curve and the second frequency variation curve is lower than the second difference, and / or the minimum frequency difference is lower than the second difference. Here, the second difference can be determined according to the frequency range of the preset audio information.
[0192] In one embodiment, the first frequency change curve matches the second frequency change curve, which means that after translation, the overlap ratio of the first frequency change curve and the second frequency change curve is higher than a preset ratio. For example, after translation such as amplitude increase or decrease, if the overlap ratio of the first frequency change curve and the second frequency change curve is higher than 80%, it is determined that the first frequency change curve matches the second frequency change curve.
[0193] Here, the overlap may be that the first frequency change curve and the second frequency change curve completely overlap, or the frequency value difference between the first frequency change curve and the second frequency change curve at the same time is lower than the third difference. The third difference may be a fixed value, or may be determined according to the frequency average value of the second frequency change curve. For example, if the frequency average value of the second frequency change curve is x, the third difference may be x / 100.
[0194] In this way, based on the matching of the frequency change curve, the overall similarity between the first audio information and the preset audio information can be more accurately reflected, thereby improving the accuracy of audio information matching and fault detection.
[0195] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0196] In some embodiments, the S123 may include:
[0197] Obtaining the weight of the contents currently contained in the cleaning device;
[0198] Based on the weight of the contained object and the standard weight corresponding to the preset audio information, the first audio information is modified;
[0199] According to the matching result between the corrected first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0200] In the embodiment of the present disclosure, the contents are objects to be cleaned contained in the cleaning device, such as clothes contained in a washing machine. The standard weight corresponding to the preset audio information can indicate that the preset audio information is the preset audio information generated when the cleaning device is operated with the contents of the standard weight. The contents can be objects to be cleaned, such as clothes.
[0201] In one embodiment, the first audio information is corrected based on the weight of the contents and the standard weight corresponding to the preset audio information. The first audio information can be corrected based on the ratio of the weight of the contents to the standard weight. For example, the weight of the contents is 10 kg, and the preset audio information corresponds to the operating state of the cleaning device when accommodating a contents with a standard weight of 5 kg. At this time, according to the ratio 10 / 5=2, the volume or amplitude and other parameters of the first audio information are corrected.
[0202] In one embodiment, obtaining the weight of the contents currently contained in the cleaning device may include: obtaining the weight of the contents currently contained in the cleaning device and the proportion of the occupied space. Accordingly, based on the weight of the contents and the standard weight corresponding to the preset audio information, correcting the first audio information may include: based on the weight of the contents and the standard weight corresponding to the preset audio information, and the proportion of the occupied space and the standard proportion of the occupied space corresponding to the preset audio information, correcting the first audio information.
[0203] In this way, the difference between the first audio information and the preset audio information can be corrected based on the weight of the contents, reducing the impact of the weight of the contents on the first audio information, thereby reducing false fault detection caused by abnormalities in the first audio information due to, for example, a large weight of the contents, and further improving the accuracy of fault detection.
[0204] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0205] In some embodiments, Figure 3 As shown, the S110 may include:
[0206] S111: Determine first audio information generated by the cleaning device in the current working mode according to the sound collected by the cleaning device in the current working mode and the environmental noise collected when the cleaning device is stopped.
[0207] In one embodiment, the sound collected by the cleaning device in the current working mode may be the sound collected by the cleaning device in the current working mode through a collection device such as a microphone. The environmental noise may be the sound collected by the cleaning device through a collection device such as a microphone when the cleaning device is stopped.
[0208] In one embodiment, S111 may include: determining the first audio information generated by the cleaning device in the current working mode according to the sound of the first duration collected by the cleaning device in the current working mode and the environmental noise of the first duration collected when the cleaning device is stopped. Here, the first duration may be the duration corresponding to the first audio information.
[0209] In one embodiment, S111 may include: in the sound collected by the cleaning device in the current working mode, eliminating the ambient noise collected when the cleaning device is stopped, to obtain the first audio information generated by the cleaning device in the current working mode.
[0210] In this way, the impact of external environmental noise on the cleaning equipment can be reduced, and fault detection can be better performed based on the sound generated by the operation of the cleaning equipment itself, thereby further improving the accuracy of fault detection.
[0211] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0212] In order to better understand the embodiments of the present disclosure, the technical solution of the present disclosure is further described below through an exemplary embodiment:
[0213] like Figure 4 As shown, an embodiment of the present disclosure provides an intelligent control system, which is applied to a cleaning device such as a washing machine, including:
[0214] 001 is a microphone used to sample the sound of the washing machine;
[0215] 002 is the intelligent module, used to process sound and communicate with the 005 electronic control mainboard;
[0216] 003 is the speaker, used to play fault prompt voice;
[0217] 004 is a cloud application (Application, APP), which is used to push fault codes to after-sales personnel;
[0218] 005 is the electronic control main board, which serves as the washing machine control module.
[0219] In one embodiment, Figure 5As shown, fault detection can be performed based on the above intelligent control system, with the intelligent module 002 as the core, and the sound generated by the vibration of the washing machine is collected through the microphone, and the intelligent module determines the fault of the washing machine. Among them, the intelligent module is pre-set with various types of sounds generated by the vibration of the washing machine under various faults, such as the sound corresponding to the fixing and transporting screws not being removed, the sound corresponding to the missing of a fixing bolt, the sound corresponding to the washing machine shock absorber not being fixed firmly, the sound corresponding to the bottom bracket not being removed, and the sound corresponding to the uneven ground feet, etc.
[0220] The authenticity determination step may be to compare the collected sound with the normal working sounds in multiple preset modes after determining the fault type to determine the authenticity of the fault. For example, the collected sound has a high decibel, which is consistent with the sound of a certain fault type, but in fact the washing machine is only working in a working mode that produces a loud sound, such as a dehydration mode, and is not faulty. Therefore, based on the comparison with the normal working sounds in multiple modes, it can be determined whether a fault really occurs.
[0221] After determining the fault of the washing machine, a fault prompt voice or display content can be generated based on the determined fault type to prompt the user, and / or a fault code and other prompt information can be generated and sent to maintenance personnel.
[0222] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
[0223] like Figure 6 As shown, in this embodiment, a fault detection device is provided, which is applied to a cleaning device, and the device includes:
[0224] The collecting unit 10 is used to collect the first audio information generated by the cleaning device in the current working mode;
[0225] A determination unit 20, configured to determine whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode;
[0226] The prompt unit 30 is used to output fault prompt information if the cleaning device fails.
[0227] In some embodiments, the determining unit 20 is specifically configured to:
[0228] According to the working mode, determining preset audio information corresponding to the working mode;
[0229] matching the first audio information with the preset audio information;
[0230] According to the matching result between the first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0231] In some embodiments, the determining unit 20 is specifically configured to:
[0232] If the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, it is determined that the cleaning device has no fault;
[0233] If the first audio information does not match the preset audio information indicating that the cleaning device is operating in a fault-free state, it is determined that the cleaning device has a fault.
[0234] In some embodiments, the determining unit 20 is further configured to:
[0235] If the cleaning device has a fault, the type of fault of the cleaning device is determined based on the first audio information.
[0236] In some embodiments, the prompt unit 30 is specifically used to:
[0237] Based on the type of fault existing in the cleaning device, fault prompt information is output.
[0238] In some embodiments, the determining unit 20 is specifically configured to:
[0239] If the first audio information matches the preset audio information when the cleaning device is in the running state with a preset type of fault, it is determined that the cleaning device has a preset type of fault.
[0240] In some embodiments, the determining unit 20 is specifically configured to:
[0241] According to the matching result of the first frequency of the first audio information and the second frequency of the preset audio information, it is determined whether the cleaning device has a fault.
[0242] In some embodiments, the determining unit 20 is specifically configured to:
[0243] Generate a first frequency change curve based on a frequency range and a frequency change trend of the first frequency of the first audio information within a preset time length;
[0244] Whether the cleaning device has a fault is determined based on the matching result of the first frequency change curve and the second frequency change curve; the second frequency change curve indicates the frequency range and frequency change trend of the second frequency of the preset audio information within a preset time length.
[0245] In some embodiments, the determining unit 20 is specifically configured to:
[0246] Obtaining the weight of the contents currently contained in the cleaning device;
[0247] Based on the weight of the contained object and the standard weight corresponding to the preset audio information, the first audio information is modified;
[0248] According to the matching result between the corrected first audio information and the preset audio information, it is determined whether the cleaning device has a fault.
[0249] In some embodiments, the acquisition unit 10 is specifically used for:
[0250] The first audio information generated by the cleaning device in the current working mode is determined based on the sound collected by the cleaning device in the current working mode and the environmental noise collected when the cleaning device is stopped.
[0251] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0252] The present disclosure also provides a communication device, including:
[0253] antenna;
[0254] Memory;
[0255] The processor is connected to the antenna and the memory respectively, and is used to control the antenna to send and receive wireless signals by executing an executable program stored in the memory, and can execute the steps of the fault detection method provided in any of the above embodiments.
[0256] The communication device provided in this embodiment may be the aforementioned terminal or base station. The terminal may be various types of person-mounted terminals or vehicle-mounted terminals. The base station may be various types of base stations, for example, a 4G base station or a 5G base station.
[0257] The antenna may be various types of antennas, for example, a mobile antenna such as a 3G antenna, a 4G antenna or a 5G antenna; the antenna may also include: a WiFi antenna or a wireless charging antenna, etc.
[0258] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to remember information stored thereon after the communication device loses power.
[0259] The processor can be connected to the antenna and the memory through a bus, etc., and is used to read the executable program stored in the memory, for example, at least one of the methods shown in any embodiment of the present disclosure.
[0260] An embodiment of the present disclosure also provides a non-temporary computer-readable storage medium, which stores an executable program, wherein when the executable program is executed by a processor, the steps of the fault detection method provided in any of the aforementioned embodiments are implemented, for example, at least one of the methods shown in any of the embodiments of the present disclosure.
[0261] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0262] Figure 7 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0263] Reference Figure 7 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0264] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0265] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 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, magnetic disk or optical disk.
[0266] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0267] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0268] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0269] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0270] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0271] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0272] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0273] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by the processor 820 of the electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0274] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the appended claims.
[0275] In some cases, any two of the above technical features can be combined into a new method technical solution without conflict.
[0276] In some cases, any two of the above technical features can be combined into a new equipment technical solution without conflict.
[0277] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A fault detection method, It is characterized in that Executed by a cleaning device, the method comprises: Collecting first audio information generated by the cleaning device in the current working mode; Determining whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode; The determining whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode comprises: According to the working mode, determining preset audio information corresponding to the working mode; matching the first audio information with the preset audio information; Determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information; The determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes: Obtaining the weight of the contents currently contained in the cleaning device; Based on the weight of the contained object and the standard weight corresponding to the preset audio information, the first audio information is modified; Determining whether the cleaning device has a fault according to a matching result between the corrected first audio information and the preset audio information; If the cleaning device fails, a failure prompt message is output.
2. The method according to claim 1, It is characterized in that The determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes: If the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, it is determined that the cleaning device has no fault; If the first audio information does not match the preset audio information indicating that the cleaning device is operating in a fault-free state, it is determined that the cleaning device has a fault.
3. The method according to claim 2, It is characterized in that The method further comprises: If the cleaning device has a fault, the type of fault of the cleaning device is determined based on the first audio information.
4. The method according to claim 3, It is characterized in that The output fault prompt information includes: Based on the type of fault existing in the cleaning device, fault prompt information is output.
5. The method according to claim 1, It is characterized in that The determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes: If the first audio information matches the preset audio information when the cleaning device is in the running state with a preset type of fault, it is determined that the cleaning device has a preset type of fault.
6. The method according to claim 1, It is characterized in that The determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes: According to the matching result of the first frequency of the first audio information and the second frequency of the preset audio information, it is determined whether the cleaning device has a fault.
7. The method according to claim 6, It is characterized in that The determining whether the cleaning device has a fault according to a matching result between the first frequency of the first audio information and the second frequency of the preset audio information includes: Generate a first frequency change curve based on a frequency range and a frequency change trend of the first frequency of the first audio information within a preset time length; Whether the cleaning device has a fault is determined based on the matching result of the first frequency change curve and the second frequency change curve; the second frequency change curve indicates the frequency range and frequency change trend of the second frequency of the preset audio information within a preset time length.
8. The method according to claim 1, It is characterized in that The collecting of first audio information generated by the cleaning device in the current working mode includes: The first audio information generated by the cleaning device in the current working mode is determined based on the sound collected by the cleaning device in the current working mode and the environmental noise collected when the cleaning device is stopped.
9. A fault detection device, It is characterized in that Applied to cleaning equipment, the device comprises: A collection unit, used for collecting first audio information generated by the cleaning device in a current working mode; A determination unit, configured to determine whether the cleaning device has a fault based on a matching result between the first audio information and a preset condition corresponding to the working mode; the determination unit, configured to determine whether the cleaning device has a fault based on a matching result between the first audio information and the preset condition corresponding to the working mode, comprising: According to the working mode, determining preset audio information corresponding to the working mode; matching the first audio information with the preset audio information; Determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information; The determining whether the cleaning device has a fault according to a matching result between the first audio information and the preset audio information includes: Obtaining the weight of the contents currently contained in the cleaning device; Based on the weight of the contained object and the standard weight corresponding to the preset audio information, the first audio information is modified; Determining whether the cleaning device has a fault according to a matching result between the corrected first audio information and the preset audio information; The prompt unit is used to output fault prompt information if the cleaning device fails.
10. The device according to claim 9, It is characterized in that The determining unit is specifically configured to: If the first audio information matches the preset audio information indicating that the cleaning device is in a fault-free operating state, it is determined that the cleaning device has no fault; If the first audio information does not match the preset audio information indicating that the cleaning device is operating in a fault-free state, it is determined that the cleaning device has a fault.
11. The device according to claim 10, It is characterized in that The determining unit is further configured to: If the cleaning device has a fault, the type of fault of the cleaning device is determined based on the first audio information.
12. The device according to claim 11, It is characterized in that The prompt unit is specifically used for: Based on the type of fault existing in the cleaning device, fault prompt information is output.
13. The device according to claim 9, It is characterized in that The determining unit is specifically configured to: If the first audio information matches the preset audio information when the cleaning device is in the running state with a preset type of fault, it is determined that the cleaning device has a preset type of fault.
14. The device according to claim 9, It is characterized in that The determining unit is specifically configured to: According to the matching result of the first frequency of the first audio information and the second frequency of the preset audio information, it is determined whether the cleaning device has a fault.
15. The device according to claim 14, It is characterized in that The determining unit is specifically configured to: Generate a first frequency change curve based on a frequency range and a frequency change trend of the first frequency of the first audio information within a preset time length; Whether the cleaning device has a fault is determined based on the matching result of the first frequency change curve and the second frequency change curve; the second frequency change curve indicates the frequency range and frequency change trend of the second frequency of the preset audio information within a preset time length.
16. The device according to claim 9, It is characterized in that The acquisition unit is specifically used for: The first audio information generated by the cleaning device in the current working mode is determined based on the sound collected by the cleaning device in the current working mode and the environmental noise collected when the cleaning device is stopped.
17. An electronic device, It is characterized in that The electronic device comprises: a processor and a memory for storing a computer service that can be run on the processor, wherein the processor, when used to run the computer service, implements the method according to any one of claims 1 to 8.
18. A storage medium, It is characterized in that The storage medium contains computer executable instructions, and the computer executable instructions are executed by a processor to implement the method according to any one of claims 1 to 8.
