Control method, apparatus, device of laundry treating apparatus, and storage medium
By detecting tapping signals in a preset area within the garment processing equipment, the program is activated only when a preset number of consecutive tapping signals are detected. This solves the problems of inconvenient user operation and accidental triggering, and improves the reliability of the garment processing equipment and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHONGQING HAIER ROLLER WASHING MASCH CO LTD
- Filing Date
- 2024-12-24
- Publication Date
- 2026-06-26
Smart Images

Figure CN122279890A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electrical technology, and specifically relates to a control method, device, equipment and storage medium for a garment processing device. Background Technology
[0002] With the development of science and technology and the improvement of people's living standards, people's requirements for clothing processing equipment are also increasing. Existing clothing processing equipment usually requires users to select and set clothing processing programs on the control panel and start the processing. However, in some application scenarios, when users are holding items or have other mobility issues, they cannot complete the cumbersome operation of the control panel, which causes great inconvenience to users of clothing processing equipment.
[0003] Some garment processing equipment is equipped with sound or vibration sensors. These sensors can detect vibration signals emitted by the user through specific actions, identify the vibration signals, and control the garment processing equipment to perform corresponding operations without requiring the user to operate the control panel.
[0004] However, in real-world applications, various noise interferences and user errors may occur, leading to the accidental triggering of the clothing processing program, causing inconvenience to users, and even posing safety hazards. Summary of the Invention
[0005] This application provides a control method, apparatus, device, and storage medium for a garment processing device, which solves the problem of accidental triggering when quickly starting a garment processing program through a specific action.
[0006] In a first aspect, this application provides a control method for a garment processing device, the method comprising:
[0007] After detecting that clothing has been placed in the clothing processing device, a tapping signal is detected in a preset area of the clothing processing device;
[0008] When N consecutive tapping signals are detected in this tapping action, the tapping action is determined to be valid, where N is an integer greater than or equal to 2.
[0009] Lock the garment processing equipment and run the garment processing program.
[0010] Optionally, detecting the tapping signal in the preset area of the garment processing device includes:
[0011] After detecting a change from a low level to a high level in the vibration signal, the first duration of the high level is acquired;
[0012] After the first duration exceeds the first preset duration, when the vibration signal is detected to change from high level to low level, the second duration of the low level is obtained;
[0013] When the second duration meets the preset duration condition, a tapping signal is obtained.
[0014] Optionally, the step of obtaining the second duration of the low level after the first duration exceeds the first preset duration, when the vibration signal is detected to change from high level to low level, includes:
[0015] After the first duration exceeds the first preset duration, the time is delayed by the second preset duration;
[0016] If a low level is detected after a second preset delay, the second duration of the low level is obtained; wherein the second preset duration is longer than the first preset duration.
[0017] Optionally, the second duration of acquiring the low level includes:
[0018] When the vibration signal is detected to change from low level to high level again within the fourth preset time period, the second duration of the low level between the two high levels is obtained;
[0019] When the second duration meets the preset duration condition, a tapping signal is obtained, including:
[0020] When the second duration is longer than the third preset duration, a tapping signal is obtained, and the tapping signal is not the last tapping signal.
[0021] Optionally, the second duration of acquiring the low level includes:
[0022] If the vibration signal is not detected to change from low level to high level again within the fourth preset time period, then the fourth preset time period is determined as the second duration of the low level.
[0023] When the second duration meets the preset duration condition, a tapping signal is obtained, including:
[0024] When the second duration is the fourth preset duration, a tapping signal is obtained, and the tapping signal is the last tapping signal.
[0025] Optionally, after obtaining a tap signal when the second duration meets a preset duration condition, the method further includes:
[0026] If the tapping signal is not the last tapping signal, then the tapping signal is counted.
[0027] If the tapping signal is the last tapping signal, then the number of tapping signals is counted and the cumulative number of taps is obtained;
[0028] If the cumulative number of times is N, then the tapping action is determined to be valid, and the count is reset to zero.
[0029] If the cumulative number of hits is less than or greater than N, the hit action is determined to be invalid, and the count is reset to zero.
[0030] Optionally, locking the garment processing equipment and running the garment processing program includes:
[0031] Lock the door of the garment processing equipment and obtain the garment processing program corresponding to the garment;
[0032] If no other operation is received on the panel of the garment processing device after the fifth preset time period, the garment processing program will run.
[0033] Secondly, this application provides a control device for a garment processing equipment, comprising:
[0034] The detection module is used to detect tapping signals in a preset area of the clothing processing device after detecting that clothing has been placed in the clothing processing device; when the detection shows that the tapping action has N consecutive tapping signals, the module determines that the tapping action is valid; where N is an integer greater than or equal to 2.
[0035] The control module is used to lock the door of the garment processing equipment and run the garment processing program.
[0036] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0037] The memory stores computer-executed instructions;
[0038] The processor executes computer execution instructions stored in the memory to implement the control method of the clothing processing device as described in the first aspect.
[0039] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the control method of the clothing processing device as described in the first aspect.
[0040] Fifthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the control method of the clothing processing device as described in the first aspect.
[0041] The control method, apparatus, device, and storage medium for the clothing processing equipment provided in this application detects a tapping signal in a preset area of the clothing processing equipment after clothing is placed in it; when N consecutive tapping signals are detected, the tapping action is determined to be valid; where N is an integer greater than or equal to 2; the clothing processing equipment is locked, and the clothing processing program is run, allowing the user to quickly start the clothing processing program with a simple continuous tapping action, effectively reducing the probability of accidental triggering and balancing the reliability and user-friendliness of the clothing processing equipment. Attached Figure Description
[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0043] Figure 1 Flowchart of the control method for the garment processing equipment provided in this application Figure 1 ;
[0044] Figure 2a Flowchart 2 of the control method for the garment processing equipment provided in this application;
[0045] Figure 2b A waveform diagram of a vibration signal provided in this application;
[0046] Figure 3 A schematic diagram of the structure of a control device for a garment processing equipment provided in this application;
[0047] Figure 4 This is a schematic diagram of the structure of an electronic device provided in this application.
[0048] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0050] With the development of science and technology and the improvement of people's living standards, people's requirements for clothing processing equipment are also increasing. Existing clothing processing equipment usually requires users to select and set clothing processing programs on the control panel and start the processing. However, in some application scenarios, when users are holding items or have other mobility issues, they cannot complete the cumbersome operation of the control panel, which causes great inconvenience to users of clothing processing equipment.
[0051] Some garment processing equipment is equipped with sound or vibration sensors, which can identify and control the garment processing equipment to perform corresponding operations by acquiring sound signals emitted by the user through specific actions, without requiring the user to operate the control panel.
[0052] However, in real-world applications, various noise interferences and user errors may occur, leading to the accidental triggering of the clothing processing program, causing inconvenience to users, and even posing safety hazards.
[0053] To address the aforementioned issues, this application proposes the following technical concept: After detecting that clothing is placed inside the clothing processing device, the device detects tapping signals triggered by the user within a specific area of the device. Only when the detected tapping signal is identified as a preset number of consecutive tapping signals is the tapping action deemed valid, and the clothing processing program is executed on the clothing inside the device. This reduces the probability of false triggering of the clothing processing device, improves the accuracy of tapping recognition and clothing processing program triggering, and enables quick startup of the clothing processing program while ensuring the operational safety of the clothing processing device, thereby enhancing the user experience.
[0054] The technical solutions of this application and how they solve the aforementioned technical problems are described in detail below with specific embodiments. These specific embodiments may exist independently or in combination with each other. Identical or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0055] Figure 1 A flowchart illustrating the control method for the garment processing equipment provided in this application embodiment. Figure 1 .like Figure 1 As shown in the embodiments of this application, the control method for the garment processing equipment includes:
[0056] S101: After detecting that clothing has been placed in the clothing processing device, a tapping signal is detected in a preset area of the clothing processing device.
[0057] The preset area is located on the outer surface of the garment processing device, such as the upper cover and front panel of the garment processing device. Each tapping signal corresponds to a single tap, and a user's tapping action can include one or more taps on the preset area. That is, a tapping action can correspond to one or more tapping signals.
[0058] Specifically, the control device of the clothing processing equipment determines whether clothing is placed inside the equipment through a corresponding object detection device, such as detecting the weight of the contents of the equipment through a gravity sensor or detecting the presence of items inside the equipment through an infrared sensor. After detecting that clothing is placed in the clothing processing equipment, the control device acquires vibration signals within a preset area of the clothing processing equipment through a corresponding sensing device. The sensing device sends the acquired vibration signals to the control device according to a preset format. The control device parses and identifies the vibration signals according to a preset recognition algorithm to determine the knocking signal in the vibration signals. The recognition algorithm may, for example, be matching the waveform of the vibration signal with a preset waveform of a single knock, and determining the knocking signal in the vibration signal based on the matching result. This application embodiment does not specifically limit the content of the recognition algorithm.
[0059] S102: When N consecutive tapping signals are detected in this tapping action, the tapping action is determined to be valid.
[0060] Wherein, N is an integer greater than or equal to 2.
[0061] Specifically, the control device of the garment processing equipment determines the number of tapping signals and their time intervals corresponding to the current tapping action based on each tapping signal detected in the vibration signal and its corresponding tapping time, and then determines the number of consecutive tapping signals in the current tapping action; if the current tapping action has N consecutive tapping signals, the control device determines that the current tapping action is valid, otherwise it determines that the current tapping action is invalid.
[0062] S103: Lock the door of the garment processing equipment and run the garment processing program.
[0063] Specifically, after confirming that the tapping action is valid, the control device of the garment processing equipment sends corresponding control commands to the door of the garment processing equipment and the garment processing device to control the door to lock the garment processing equipment and to control the garment processing device to run the garment processing program.
[0064] The control method for the clothing processing device provided in this application embodiment detects a tapping signal within a preset area of the clothing processing device after detecting that clothing has been placed in the device. When N consecutive tapping signals are detected, the tapping action is determined to be valid, the device is locked, and the clothing processing program is run. This allows users to quickly start the clothing processing program with simple, continuous tapping actions, effectively reducing the probability of accidental triggering and balancing the reliability and user-friendliness of the clothing processing device.
[0065] Figure 2a A schematic flowchart (2) illustrates the control method for the garment processing equipment provided in this application embodiment. For example... Figure 2a As shown in the embodiments of this application, the control method for the garment processing equipment includes:
[0066] S201: After detecting that clothing has been placed in the clothing processing device, a vibration signal in a preset area of the clothing processing device is acquired.
[0067] The preset area is located on the outer surface of the garment processing device, such as the upper cover and front panel of the garment processing device. Each tapping signal corresponds to a single tap, and a user's tapping action can include one or more taps on the preset area. That is, a tapping action can correspond to one or more tapping signals.
[0068] Specifically, the control device of the clothing processing equipment determines whether clothing is placed inside the equipment through a corresponding object detection device. For example, it uses a gravity sensor to detect the weight of the contents of the equipment or an infrared sensor to detect the presence of items inside the equipment. After detecting that clothing is placed in the clothing processing equipment, the control device controls the detection device of the vibration sensor to collect analog signals caused by vibration in a preset area of the clothing processing equipment. For example, it detects changes in the capacitance or inductance of the device. This analog signal may be caused by a user's tapping action or by ambient noise signals. The vibration sensor converts the analog signal collected by the detection device into a digital signal to obtain the vibration signal.
[0069] S202: When the vibration signal is detected to change from low level to high level, the first duration of the high level is acquired.
[0070] Understandably, when no vibration exceeding a certain amplitude is generated within the preset area, the vibration signal will remain at a low level. However, when vibration exceeding a certain amplitude is generated within the preset area due to knocking or noise signals, the vibration signal will change from a low level to a high level, and will remain at a high level for a period of time before changing back to a low level.
[0071] Specifically, when the control device detects that the vibration signal changes from a low level to a high level, it takes the moment of the change from low to high level as the start time of the first duration, that is, it begins to acquire the first duration of the high level, until the high level changes back to low level, that is, the moment of the change from high to low level is the end time of the first duration.
[0072] For example, please refer to Figure 2b , Figure 2b This is a waveform diagram of a vibration signal according to an embodiment of this application. Figure 2b It includes two tapping signals; such as Figure 2b As shown, t_high is the first duration of the high level.
[0073] S203: After the first duration exceeds the first preset duration, when the vibration signal is detected to change from high level to low level, the second duration of the low level is obtained.
[0074] The first preset duration is set based on the characteristics of noise signals and knocking signals. The first preset duration can be adjusted and modified according to the environment in which the clothing processing equipment is located. For example, the first preset duration can be 0.4 seconds.
[0075] It is understandable that environmental noise signals are continuous signals that conform to specific patterns. Therefore, the duration of the high-level digital signal corresponding to this signal differs from the duration of the high-level digital signal corresponding to the tapping signal. Based on the relationship between the first duration and the first preset duration, it can be determined whether the vibration signal was caused by the user's tapping. If the first duration of the high level is greater than the first preset duration, it can be considered that the vibration signal may have been caused by the user's tapping, and further detection can be performed. If the first duration of the high level is less than or equal to the first preset duration, it can be considered that the vibration signal was not caused by the user's tapping, and further detection can be stopped, and the tapping signal count can be cleared.
[0076] Specifically, when the control device detects that the vibration signal changes from a high level to a low level, it takes the moment of the change from high level to low level as the start time of the second duration, that is, it begins to acquire the second duration of the low level.
[0077] Optional, continue to refer to Figure 2bThe analog signal waveform triggered by a single tap, after analog-to-digital conversion, corresponds to a digital signal waveform (i.e., a tap signal). This typically consists of multiple square waves with decreasing high-level durations. To reduce unnecessary calculations, delay filtering can be used to ignore all square waves except the first one. Based on the end time of the first square wave of a tap signal (refer to the end time of t_high) and the delay duration, the start time of the second duration can be determined (refer to...). Figure 2b The start time of t_low shown in the figure is used to calculate the second duration of the low level (refer to the following). Figure 2b The specific steps for t_low shown are as follows:
[0078] Step 1: After the first duration exceeds the first preset duration, delay for a second preset duration.
[0079] Step 2: After a second preset delay, if a low level is detected, the second duration of the low level is obtained.
[0080] The second preset duration is longer than the first preset duration, and the second preset duration can be, for example, 0.5 seconds.
[0081] Optionally, since the tapping action may have M consecutive tapping signals, the method for determining the duration of the low level when detecting the first M-1 tapping signals is as follows:
[0082] After the signal transitions from high to low, if the vibration signal is detected to transition from low to high again within a fourth preset time period, the second duration of the low level between the two high levels is obtained.
[0083] Understandably, after the transition from high to low level, there is a fourth preset duration (refer to...). Figure 2b The vibration signal detected within TH (shown) changes from low to high level again. It can be assumed that the tapping signal corresponding to the previous high level is not the last tapping signal. Therefore, the duration of the low level between the two high levels is taken as the second duration. If a delay filter exists, the duration of the low level between the end of the delay and the point where the low level is converted back to a high level is taken as the second duration (refer to...). Figure 2b (as shown in t_low).
[0084] The method for determining the duration of the low level when detecting the Mth tap signal is as follows:
[0085] If the vibration signal is not detected to change from low level to high level again within the fourth preset time period, then the fourth preset time period is determined as the second duration of the low level.
[0086] The fourth preset duration can be, for example, 1 second.
[0087] Understandably, if after the transition from high level to low level, no vibration signal is detected to transition from low level to high level again within the fourth preset time period, that is, there is no subsequent tapping signal that is continuous with the current tapping signal, the tapping signal corresponding to the previous high level can be considered as the last tapping signal, and the fourth preset time period can be directly determined as the second duration of the low level.
[0088] S204: When the second duration meets the preset duration condition, a tapping signal is obtained.
[0089] Optionally, the specific method for determining whether the second duration meets the preset duration condition can be as follows:
[0090] When the second duration is longer than the third preset duration, a tapping signal is obtained, and the tapping signal is not the last tapping signal.
[0091] When the second duration is the fourth preset duration, a tapping signal is obtained, and the tapping signal is the last tapping signal.
[0092] The third preset duration is set based on the characteristics of noise signals and knocking signals. The third preset duration can be adjusted and modified according to the environment in which the clothing processing equipment is located. For example, the third preset duration can be 0.6 seconds.
[0093] It is understandable that environmental noise signals are continuous signals that conform to specific patterns. Therefore, the duration of the low level of the digital signal corresponding to this noise signal differs from the duration of the low level of the digital signal corresponding to the tapping signal. To eliminate false tapping judgments caused by noise, the magnitude of the third duration and the second preset duration can be used to further determine whether the vibration signal was caused by the user's tapping. Only when the second preset duration is greater than the third preset duration (i.e., ...) will the vibration signal be determined. Figure 2b Only when the value of TL is reached (as shown in the figure) is the vibration signal determined to be a knocking signal. Otherwise, the vibration signal may be caused by noise. To avoid misjudgment, the knocking signal count can be reset to zero.
[0094] S205: Determine whether the obtained tapping signal is the last tapping signal.
[0095] S206: If the tapping signal is not the last tapping signal, then the tapping signal is counted.
[0096] S207: If the tapping signal is the last tapping signal, then count the number of tapping signals and obtain the cumulative number of taps.
[0097] S208: Determine whether the cumulative number of times is N.
[0098] S209: If the cumulative number of times is less than or greater than N, then the current tapping action is determined to be invalid, and the count is reset to zero.
[0099] S210: If the cumulative number of times is N, then the current tapping action is determined to be valid, and the count is reset to zero.
[0100] S211: Lock the door of the garment processing equipment and obtain the garment processing program corresponding to the garment.
[0101] Specifically, after confirming that the tapping action is valid, the control device of the garment processing equipment sends corresponding control commands to the door of the garment processing equipment and the garment processing device itself to control the door to lock the garment processing equipment and to obtain the garment processing program corresponding to the garment. The garment processing program may be, for example, a garment processing program corresponding to a quick start mode that is pre-set and stored in a corresponding storage location, or a garment processing program that matches the information of the garment to be processed determined according to a corresponding matching algorithm based on the identification result of the information of the garment to be processed in the garment processing equipment. This embodiment does not impose any particular limitation on this.
[0102] S212: After the fifth preset time period, if the panel of the clothing processing device does not receive any other operation, the clothing processing program is run.
[0103] Understandably, after a user activates the quick start function of the clothing processing program by tapping the preset area, they may need to view and modify the clothing processing program, and there is also the possibility of canceling the execution of the quick start clothing processing program. To avoid the accidental execution of the clothing processing program, the clothing processing program can be run again after a fifth preset time after the tapping action has been confirmed to be valid, provided that the panel of the clothing processing device has not received any other operations.
[0104] The control method for the clothing processing equipment provided in this application, by judging whether the duration of the high level and the duration of the low level of the vibration signal meet the corresponding preset duration conditions, achieves accurate judgment of noise signals and continuous knocking signals without requiring a large amount of computation and data read / write space, and further reduces the probability of false triggering during quick start.
[0105] Figure 3 This is a schematic diagram of the structure of a control device for a garment processing equipment provided in an embodiment of this application; as shown below. Figure 3 As shown, this application provides a control device for a garment processing equipment, applied to a garment processing equipment; the control device 300 for the garment processing equipment provided in this embodiment includes:
[0106] The detection module 301 is used to detect a tapping signal in a preset area of the clothing processing device after detecting that clothing has been placed in the clothing processing device; when the detection shows that the tapping action has N consecutive tapping signals, the detection module 301 determines that the tapping action is valid, where N is an integer greater than or equal to 2.
[0107] The control module 302 is used to lock the door of the clothing processing equipment and run the clothing processing program.
[0108] Optionally, the detection module 301 is specifically used to acquire a first duration of the high level after detecting that the vibration signal changes from a low level to a high level; after the first duration is longer than a first preset duration, acquire a second duration of the low level when detecting that the vibration signal changes from a high level to a low level; and obtain a knocking signal when the second duration meets the preset duration condition.
[0109] Optionally, the detection module 301 is specifically used to delay for a second preset duration after the first duration exceeds the first preset duration;
[0110] If a low level is detected after a second preset delay, the second duration of the low level is obtained; wherein the second preset duration is longer than the first preset duration.
[0111] Optionally, the detection module 301 is specifically used to obtain the second duration of the low level between two high levels when the vibration signal is detected to change from low level to high level again within a fourth preset duration; when the second duration is longer than a third preset duration, a knocking signal is obtained, and the knocking signal is not the last knocking signal.
[0112] Optionally, the detection module 301 is specifically configured to determine the fourth preset time as the second duration of the low level if no vibration signal is detected to change from low level to high level again within the fourth preset time; when the second duration is the fourth preset time, a knocking signal is obtained, and the knocking signal is the last knocking signal.
[0113] Optionally, after obtaining a tapping signal when the second duration meets the preset duration condition, the detection module 301 is further configured to: count the number of tapping signals when the tapping signal is not the last tapping signal; count the number of tapping signals and obtain the cumulative number of tapping signals when the tapping signal is the last tapping signal; determine that the tapping action is valid when the cumulative number of tapping signals is N, and reset the count to zero; determine that the tapping action is invalid when the cumulative number of tapping signals is less than or greater than N, and reset the count to zero.
[0114] Optionally, the control module 302 is specifically used to lock the door of the clothing processing device and obtain the clothing processing program corresponding to the clothing; after a fifth preset time period, if the panel of the clothing processing device does not receive any other operation, the clothing processing program is run.
[0115] The control device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0116] Figure 4 This is a hardware schematic diagram of an electronic device provided in an embodiment of the present invention. For example... Figure 4 As shown, the electronic device 400 provided in this embodiment includes at least one processor 401 and a memory 402. The device 400 also includes a communication interface 403. The processor 401, memory 402, and communication interface 403 are connected via a bus 404.
[0117] In the specific implementation process, at least one processor 401 executes computer execution instructions stored in memory 402, causing at least one processor 401 to execute the control method of the above-mentioned clothing processing device.
[0118] The specific implementation process of processor 401 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0119] In the above Figure 4 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0120] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0121] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0122] In addition, this embodiment also provides a computer-readable storage medium storing a computer program thereon, which is executed by a processor to implement the control method of the clothing processing device described above.
[0123] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0124] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0125] The division of units described herein is merely a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0126] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0127] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0128] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0129] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0130] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it is readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A control method of a laundry treating apparatus, characterized by, The method includes: After detecting that clothing has been placed in the clothing processing device, a tapping signal is detected in a preset area of the clothing processing device; When N consecutive tapping signals are detected in this tapping action, the tapping action is determined to be valid, where N is an integer greater than or equal to 2. Lock the garment processing equipment and run the garment processing program.
2. The method of claim 1, wherein, The detection of tapping signals in a preset area of the garment processing device includes: After detecting a change from a low level to a high level in the vibration signal, the first duration of the high level is acquired; After the first duration exceeds the first preset duration, when the vibration signal is detected to change from high level to low level, the second duration of the low level is obtained; When the second duration meets the preset duration condition, a tapping signal is obtained.
3. The method of claim 2, wherein, The step of obtaining the second duration of the low level after the first duration exceeds the first preset duration, when the vibration signal is detected to change from high level to low level, includes: After the first duration exceeds the first preset duration, the time is delayed by the second preset duration; If a low level is detected after a second preset delay, the second duration of the low level is obtained; wherein the second preset duration is longer than the first preset duration.
4. The method of claim 2, wherein, The second duration for acquiring the low level includes: When the vibration signal is detected to change from low level to high level again within the fourth preset time period, the second duration of the low level between the two high levels is obtained; When the second duration meets the preset duration condition, a tapping signal is obtained, including: When the second duration is longer than the third preset duration, a tapping signal is obtained, and the tapping signal is not the last tapping signal.
5. The method of claim 4, wherein, The second duration for acquiring the low level includes: If the vibration signal is not detected to change from low level to high level again within the fourth preset time period, then the fourth preset time period is determined as the second duration of the low level. When the second duration meets the preset duration condition, a tapping signal is obtained, including: When the second duration is the fourth preset duration, a tapping signal is obtained, and the tapping signal is the last tapping signal.
6. The method of claim 2, wherein, After obtaining a tapping signal when the second duration meets a preset duration condition, the method further includes: If the tapping signal is not the last tapping signal, then the tapping signal is counted. If the tapping signal is the last tapping signal, then the number of tapping signals is counted and the cumulative number of taps is obtained; If the cumulative number of times is N, then the tapping action is determined to be valid, and the count is reset to zero. If the cumulative number of hits is less than or greater than N, the hit action is determined to be invalid, and the count is reset to zero.
7. The method of claim 1, wherein, The step of locking the garment processing equipment and running the garment processing program includes: Lock the door of the garment processing equipment and obtain the garment processing program corresponding to the garment; If no other operation is received on the panel of the garment processing device after the fifth preset time period, the garment processing program will run. 8.A control apparatus of a laundry treating apparatus, characterized by, include: The detection module is used to detect a tapping signal in a preset area of the clothing processing device after detecting that clothing has been placed in the clothing processing device. The tapping action is deemed valid when N consecutive tapping signals are detected; where N is an integer greater than or equal to 2. The control module is used to lock the door of the garment processing equipment and run the garment processing program.
9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the control method of the clothing processing device as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the control method of the garment processing device as described in any one of claims 1-7.