Foreign matter detection method and device, electronic equipment and medium
By using light transmission detection technology in the washing machine to identify and warn users of foreign objects, the problem of washing machine damage caused by foreign objects is solved and the safety and reliability of the equipment are improved.
Patent Information
- Application Number
- CN202310178737.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
During the washing process, the inner wall of the washing machine was damaged due to failure to detect foreign objects in the clothes in time, affecting normal operation.
Before the washing equipment starts washing, it determines whether there is an opaque area by obtaining the light transmission detection information of the clothes to be washed. If it exists and the opaque area is smaller than the light transmission area, an alarm message is output to remind the user of the presence of foreign matter and reduce foreign matter. Risk of collision with the inner wall of the washing machine.
It effectively reduces the risk of damage to the washing machine due to collision with foreign objects during the washing process, and improves the safety and reliability of the equipment.
Smart Images

Figure CN118547464A
Abstract
Description
Technical Field
[0001] The present application relates to smart home appliance technology, and in particular to a foreign object detection method, device, electronic device and medium. Background Art
[0002] A washing machine is a cleaning appliance that uses electrical energy to generate mechanical action to wash foreign objects. It includes two types: household washing machines and commercial washing machines.
[0003] When the user uses the above-mentioned washing machine to wash clothes, if the user fails to find the hard foreign objects such as mobile phones, keys, screws, etc. in the clothes in time, the washing machine will enter the washing process, which will damage the inner wall of the washing machine, thereby affecting the normal operation of the washing machine. Summary of the invention
[0004] The present application provides a foreign object detection method, device, electronic device and medium, which can detect whether there are opaque and non-absorbent foreign objects such as mobile phones in the clothes to be washed before the washing device starts washing, so as to effectively reduce the risk of the washing device being damaged by continuous collision with the above foreign objects during operation.
[0005] In a first aspect, the present application provides a foreign body detection method, the method comprising:
[0006] Acquiring light transmission detection information of the clothes to be washed, wherein the light transmission detection information is used to indicate a light-transmitting area and / or a light-impermeable area of the clothes to be washed in the washing device;
[0007] If the opaque area exists in the laundry to be washed and the opaque area is smaller than the translucent area, outputting a first alarm message, wherein the first alarm message is used to indicate that a foreign object exists in the washing device;
[0008] Otherwise, a first indication information is output, where the first indication information is used to instruct to start the washing device.
[0009] In another possible implementation, before obtaining the light transmission detection information of the laundry to be washed, the method further includes:
[0010] Acquire the detection result information sent by the light source receiver, wherein the washing device is provided with a light source and the light source receiver, the light source receiver is arranged at a position opposite to the light source, and the light source receiver is provided in plurality and evenly distributed;
[0011] The step of obtaining light transmission detection information of the laundry to be washed comprises:
[0012] The light transmission detection information is determined according to the detection result information.
[0013] In another possible implementation manner, determining the light transmission detection information according to the detection result information includes:
[0014] Determining, based on the detection result information, a light source receiver indicating that no light signal has been received;
[0015] The first position information of the light source receiver that has not received the light signal is acquired, and the light-proof area is determined according to the first position information.
[0016] In another possible implementation manner, determining the light transmission detection information according to the detection result information includes:
[0017] Determining, based on the detection result information, a light source receiver indicating that a light signal has been received;
[0018] The second position information of the light source receiver that receives the light signal is acquired, and the light-transmitting area is determined according to the second position information.
[0019] In another possible implementation, the method further includes:
[0020] Acquire a first number of light source receivers that receive the light signal and a second number of light source receivers that do not receive the light signal;
[0021] It is determined whether the opaque area is smaller than the translucent area according to the first number and the second number.
[0022] In another possible implementation manner, after outputting the first indication information, the method further includes:
[0023] Acquiring weight information and water absorption rate information of the clothes to be washed, wherein the water absorption rate information is related to the material of the clothes to be washed;
[0024] Determine a target water volume and a target water level according to the weight information and the water absorption rate information; wherein the target water volume is obtained by the washing device according to the weight information, and the target water level is obtained by the washing device according to the target water volume and the water absorption rate information;
[0025] The actual water level is obtained, and according to the actual water level and the target water level, it is determined whether to output a second alarm message, wherein the second alarm message is used to indicate that a foreign object exists in the washing device.
[0026] In another possible implementation, determining whether to output the second alarm information according to the actual water level and the target water level includes:
[0027] If the actual water level is higher than the target water level, determining to output the second alarm information;
[0028] If the actual water level is not higher than the target water level, second indication information is output, where the second indication information is used to instruct the washing device to start washing.
[0029] In a second aspect, the present application provides a foreign body detection device, the device comprising:
[0030] An acquisition module, used for acquiring light transmission detection information of the clothes to be washed, wherein the light transmission detection information is used for indicating the light transmission area and the light-proof area of the clothes to be washed in the washing device;
[0031] a detection module, configured to output a first alarm message when the opaque area exists in the laundry to be washed and the opaque area is smaller than the translucent area, wherein the first alarm message is used to indicate that a foreign object exists in the washing device;
[0032] The detection module is further used to output first indication information when the opaque area does not exist in the clothes to be washed, or when the opaque area exists and is larger than the translucent area, wherein the first indication information is used to instruct to start the washing device.
[0033] In another possible implementation manner, the acquisition module is further used for:
[0034] Acquire the detection result information sent by the light source receiver, wherein the washing device is provided with a light source and the light source receiver, the light source receiver is arranged at a position opposite to the light source, and the light source receiver is provided in plurality and evenly distributed;
[0035] The acquisition module is specifically used for:
[0036] The light transmission detection information is determined according to the detection result information.
[0037] In another possible implementation, the acquisition module is specifically used to:
[0038] Determining, based on the detection result information, a light source receiver indicating that no light signal has been received;
[0039] The first position information of the light source receiver that has not received the light signal is acquired, and the light-proof area is determined according to the first position information.
[0040] In another possible implementation, the acquisition module is specifically used to:
[0041] Determining, based on the detection result information, a light source receiver indicating that a light signal has been received;
[0042] The second position information of the light source receiver that receives the light signal is acquired, and the light-transmitting area is determined according to the second position information.
[0043] In another possible implementation manner, the detection module is further used for:
[0044] Acquire a first number of light source receivers that receive the light signal and a second number of light source receivers that do not receive the light signal;
[0045] It is determined whether the opaque area is smaller than the translucent area according to the first number and the second number.
[0046] In another possible implementation manner, the detection module is further used for:
[0047] Acquiring weight information and water absorption rate information of the clothes to be washed, wherein the water absorption rate information is related to the material of the clothes to be washed;
[0048] Determine a target water volume and a target water level according to the weight information and the water absorption rate information; wherein the target water volume is obtained by the washing device according to the weight information, and the target water level is obtained by the washing device according to the target water volume and the water absorption rate information;
[0049] The actual water level is obtained, and according to the actual water level and the target water level, it is determined whether to output a second alarm message, wherein the second alarm message is used to indicate that a foreign object exists in the washing device.
[0050] In another possible implementation, the detection module is specifically used to:
[0051] If the actual water level is higher than the target water level, determining to output the second alarm information;
[0052] If the actual water level is not higher than the target water level, second indication information is output, where the second indication information is used to instruct the washing device to start washing.
[0053] In a third aspect, the present invention provides an electronic device, comprising: at least one processor and a memory;
[0054] The memory stores computer-executable instructions;
[0055] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the foreign matter detection method as described in any one of the first aspects above.
[0056] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the foreign matter detection method as described in any one of the first aspects above is implemented.
[0057] The present application provides a foreign matter detection method, device, electronic device and medium. Through this method, before washing clothes, the washing device first obtains light transmission detection information of the clothes to be washed, and then determines whether there are foreign matters in the clothes to be washed according to the light transmission detection information. If there are foreign matters, the washing device outputs a first alarm message to indicate to the user that non-transparent foreign matters are mixed in the clothes to be washed, thereby facilitating the user to promptly discover and remove foreign matters in the washing device, thereby reducing the risk of the washing device being damaged by collision with foreign matters during the washing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0059] Figure 1 A schematic diagram of a foreign body detection method provided in an embodiment of the present application Figure 1 ;
[0060] Figure 2 A flowchart of a foreign body detection method provided in an embodiment of the present application;
[0061] Figure 3 A schematic diagram of a foreign body detection method provided in an embodiment of the present application Figure 2 ;
[0062] Figure 4 A schematic diagram of the structure of a foreign body detection device provided in an embodiment of the present application;
[0063] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0064] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0065] 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 implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0066] With the development and progress of science and technology, washing equipment has become an indispensable smart appliance in more and more families. Washing equipment is a cleaning appliance that uses electrical energy to generate mechanical action to wash foreign objects, including household washing equipment and commercial washing equipment.
[0067] Regardless of the type of washing machine, users may put foreign objects other than the clothes to be washed into the washing machine when using it. For example, users put mobile phones, keys, etc. in the clothes to be washed. For some engineers, the clothes to be washed may also contain screws, stones, etc. At this time, if the user fails to find and remove the foreign objects in time before starting the washing program of the washing machine, these foreign objects will collide with the inner wall of the washing machine during the washing process, which may easily cause damage to the washing machine.
[0068] In order to solve the above problems, the present application provides a foreign matter detection method, device, electronic device and medium, so that the washing device performs light transmission detection on the clothes to be washed before starting the washing program, and then determines the light transmission area and the opaque area of the clothes to be washed by obtaining the light transmission detection information of the clothes to be washed, and determines whether there are foreign matters in the clothes to be washed according to the light transmission area and the opaque area. When there are foreign matters in the clothes to be washed, the user is prompted that there are foreign matters in the washing device, so that the user can remove the foreign matters in time, so that the foreign matters in the washing device can be removed in time before the washing device enters the washing program, thereby effectively reducing the risk of the washing device being damaged due to continuous collision with foreign matters.
[0069] The execution subject of the present application may be an electronic device associated with a washing device, or a washing device embedded with the foreign body detection device of the present application, and the present application does not limit it. In the following embodiments, the washing device embedded with the foreign body detection device of the present application is used as the execution subject for description.
[0070] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the event that the embodiments do not conflict with each other, the following embodiments and features in the embodiments may be combined with each other.
[0071] Figure 1 A schematic diagram of a foreign body detection method provided in an embodiment of the present application Figure 1 , the following combination Figure 1 , some implementation methods of the present application are described in detail.
[0072] like Figure 1 As shown, the method provided in this embodiment includes:
[0073] S101, obtaining light transmission detection information of the clothes to be washed.
[0074] The light transmission detection information is used to indicate the light transmission area and / or the light-impermeable area of the clothes to be washed in the washing device.
[0075] Specifically, the washing equipment can obtain it by receiving a light-transmitting detection device installed inside the washing equipment, or by receiving an infrared camera installed inside the washing equipment. This is not limited in this embodiment, as long as the washing equipment can eventually obtain the light-transmitting area and the opaque area.
[0076] It is understandable that for the opaque area of the clothes to be washed, it can be determined that there are opaque foreign objects in the area, such as mobile phones, keys, etc.
[0077] S102: If there is a light-impermeable area in the laundry to be washed, and the light-impermeable area is smaller than the light-impermeable area, a first alarm message is output.
[0078] The first alarm information is used to indicate that there is a foreign object in the washing device.
[0079] S103: If there is no opaque area in the laundry to be washed, or if the opaque area in the laundry to be washed is not smaller than the translucent area, output first indication information.
[0080] The first instruction information is used to instruct to start the washing device.
[0081] Specifically, if the laundry placed in the washing machine is made of opaque material or has low light transmittance, or is extremely thick and opaque, then there may be an opaque area, and the opaque area is larger than the light-transmitting area, or there is almost no light-transmitting area. Therefore, after determining that there is an opaque area, the washing machine needs to confirm that the opaque area is smaller than the light-transmitting area. Only then will the first alarm information be output, which is conducive to improving the detection accuracy.
[0082] The first alarm information and the first indication information may be voice information or text information, which is not limited in this embodiment.
[0083] Through the method of this embodiment, after the user puts the clothes to be washed into the washing device, the washing device first obtains its light transmission detection information to determine whether there is an opaque area in the clothes to be washed, and when there is an opaque area, it further confirms that the opaque area is smaller than the light transmission area, and then outputs the first alarm information. Therefore, on the one hand, it is helpful to timely discover foreign objects in the clothes to be washed before the washing device starts working, and reduce the risk of foreign objects causing damage to the washing device during the washing process. On the other hand, the washing device only outputs the first alarm information when there is an opaque area and the opaque area is smaller than the light transmission area, which effectively improves the detection credibility.
[0084] Figure 2 A flowchart of a foreign body detection method provided in an embodiment of the present application. Figure 2, some embodiments of the present application are described in detail. Specifically, based on the above embodiments, this embodiment further defines how the washing device determines the light-transmitting area and the light-impermeable area.
[0085] like Figure 2 As shown, the method provided in this embodiment includes:
[0086] S201, obtaining detection result information sent by the light source receiver.
[0087] Wherein, a light source and a light source receiver are arranged in the washing device. The light source receiver is arranged at a position opposite to the light source. There are multiple light source receivers and they are evenly distributed.
[0088] In this embodiment, the washing device obtains light transmission detection information by relatively setting the light source and the light source receiver inside the washing device. Specifically, in this embodiment, the light source is set on the inner side of the cover of the washing device, and the light source receiver is evenly set at the bottom of the washing device, and the signal receiving end of the light source receiver faces the cover. When the washing device detects that the cover closes the washing device, the washing device controls the light source to emit a light signal. The washing device controls the light source receiver to send the detection result information to the washing device after a preset time after the light source emits the light signal, to indicate whether the light source receiver receives the light signal.
[0089] Specifically, the preset time is greater than the time it takes for the light signal to propagate to the light source receiver, and the washing device can be preset in advance according to the distance between the light source and the light source receiver.
[0090] S202: Determine, based on the detection result information, the light source receivers that indicate no light signal has been received and the light source receivers that indicate a light signal has been received.
[0091] In this embodiment, after receiving the detection result information, the washing device can know which light source receivers have received the light signal and which light source receivers have not received the light signal based on the detection result information.
[0092] S203, obtaining first position information of a light source receiver that has not received an optical signal, and determining an opaque area according to the first position information; and obtaining second position information of a light source receiver that has received an optical signal, and determining a translucent area according to the second position information.
[0093] In this embodiment, the washing machine determines the light-transmitting area and the light-impermeable area through the position information of each light source receiver.
[0094] Specifically, after knowing which light source receivers have received light signals and which light source receivers have not received light signals, the washing device obtains the first position information of the light source receivers that have not received light signals and the second position information of the light source receivers that have received light signals, and determines that the area corresponding to the first position information is the opaque area, and the area corresponding to the second position information is the translucent area.
[0095] S204: Acquire a first number of light source receivers that have received the light signal and a second number of light source receivers that have not received the light signal.
[0096] S205, determining whether there is a light-proof area according to the first number and the second number, and whether the light-proof area is smaller than the light-transmitting area; if so, executing S206, otherwise executing S207.
[0097] Furthermore, after determining the light-transmitting area and the light-impermeable area, the washing device determines whether there is a light-impermeable area by comparing the first number of light source receivers that receive the light signal and the second number of light source receivers that do not receive the light signal, and the light-impermeable area is smaller than the light-transmitting area.
[0098] Specifically, if the second number is not zero, it means that there is a light-proof area. If the second number is less than the first number, it means that the light-proof area is smaller than the light-transmitting area. At this time, the washing device executes S206. If the second number is zero, it means that there is no light-proof area and there is no foreign matter in the clothes to be washed. If the second number is not zero, but the second number is greater than the first number, it is determined that there is a light-proof area, but the light-proof area is larger than the light-transmitting area.
[0099] S206, output the first alarm information.
[0100] The first alarm information is used to indicate that there is a foreign object in the washing device.
[0101] In this embodiment, the first alarm information is a voice message, and for example, it may be a voice prompt of “Please confirm whether there are any foreign objects such as mobile phones and keys placed in the laundry to be washed”.
[0102] S207: output first indication information.
[0103] The first instruction information is used to instruct to start the washing device.
[0104] In this embodiment, the first instruction information is voice information, and for example, it may be a voice prompt of “please start the washing device”.
[0105] The method of this embodiment enables the washing machine to control the light source to emit a light signal after detecting that the cover is closed, and obtain the control light source receiver to send the detection result information after a preset time. The washing machine determines the light-transmitting area and the opaque area, as well as the size of the light-transmitting area and the opaque area based on the detection result information. Through the method of this embodiment, the washing machine does not need to perform a lot of calculations, so it can quickly determine the light-transmitting area and the opaque area, and can promptly determine whether it is necessary to issue the first alarm information, which is conducive to improving the user experience.
[0106] Figure 3 A schematic diagram of a foreign body detection method provided in an embodiment of the present application Figure 2 The following combination Figure 3 , some embodiments of the present application are described in detail. Specifically, based on the above embodiments, this embodiment further defines how the washing device determines whether there is a foreign object therein.
[0107] like Figure 3 As shown, the method provided in this embodiment includes:
[0108] S301, obtaining weight information and water absorption rate information of the clothes to be washed.
[0109] Among them, the water absorption rate information is related to the material of the clothes to be washed.
[0110] In this embodiment, after the user puts the laundry into the washing device, the washing device can weigh the laundry to obtain weight information. The washing device can confirm the material of the laundry by image detection, or the washing device can prompt the user to input the material of the laundry and then obtain the material of the laundry input by the user. It can be understood that each material of the clothes corresponds to a water absorption rate. In this embodiment, the water absorption rate information is used to indicate the water absorption rate of the laundry.
[0111] S302, determining a target water volume and a target water level according to the weight information and the water absorption rate information.
[0112] Among them, the target water volume is obtained by the washing equipment according to the weight information, and the target water level is obtained by the washing equipment according to the target water volume and water absorption rate information.
[0113] Specifically, the washing device calculates the target water volume according to the laundry to be washed, which has been disclosed in the known art and will not be repeated here. In this embodiment, after obtaining the target water volume, the washing device combines the target water volume with the water absorption rate information of the laundry to be washed to calculate the target water level.
[0114] S303, obtaining the actual water level.
[0115] Specifically, a water level detector is provided inside the washing device, and the washing device obtains the actual water level through the water level detector.
[0116] S304: If the actual water level is higher than the target water level, a second alarm message is output.
[0117] The second alarm information is used to indicate that there is foreign matter in the washing device.
[0118] S305: If the actual water level is not higher than the target water level, output a second indication message.
[0119] The second instruction information is used to instruct the washing device to start washing.
[0120] Specifically, the washing machine determines whether to output the second alarm information by comparing the actual water level with the target water level.
[0121] It is understandable that if there are foreign objects such as mobile phones, keys, screws, stones, etc. that do not absorb water in the laundry to be washed, the washing machine will add the target amount of water according to the weight information of the laundry to be washed. Since these foreign objects do not absorb water but occupy weight and space, the actual water level will be higher than the target water level. Therefore, the washing machine determines again whether there are foreign objects such as mobile phones, keys, etc. in the washing machine by comparing the actual water level with the target water level.
[0122] The method of this embodiment determines whether there are foreign objects in the clothes to be washed based on the calculated target water level and the detected actual water level before the washing device starts washing, thereby further reducing the risk of foreign objects such as mobile phones and keys constantly colliding with the inner wall of the washing device when the washing device is running, thereby causing damage to the washing device.
[0123] The above embodiments introduce a foreign body detection method from the perspective of the method flow, and the following embodiments introduce a foreign body detection device from the perspective of a virtual module or a virtual unit. Please refer to the following embodiments for details.
[0124] The present application embodiment provides a foreign body detection device, such as Figure 4 As shown, the device includes an acquisition module 41 and a detection module 42, wherein:
[0125] An acquisition module 41 is used to acquire light transmission detection information of the clothes to be washed, where the light transmission detection information is used to indicate the light transmission area and / or the light-impermeable area of the clothes to be washed in the washing device;
[0126] The purification module 42 is used to output a first alarm message when there is a light-proof area in the laundry to be washed and the light-proof area is smaller than the light-proof area, and the first alarm message is used to indicate that there is a foreign object in the washing device;
[0127] The detection module 42 is further used to output first indication information when there is no opaque area in the clothes to be washed, or when there is an opaque area and the opaque area is larger than the translucent area, and the first indication information is used to instruct to start the washing device.
[0128] In another possible implementation of the embodiment of the present application, the acquisition module 41 is further configured to:
[0129] Acquire the detection result information sent by the light source receiver, wherein the washing device is provided with a light source and a light source receiver, the light source receiver is arranged at a position opposite to the light source, and a plurality of light source receivers are provided and evenly distributed;
[0130] The acquisition module 41 is specifically used for:
[0131] According to the detection result information, the light transmission detection information is determined.
[0132] In another possible implementation of the embodiment of the present application, the acquisition module 41 is specifically used to:
[0133] Determine, based on the detection result information, a light source receiver indicating that no light signal has been received;
[0134] The first position information of the light source receiver that has not received the light signal is obtained, and the light-proof area is determined according to the first position information.
[0135] In another possible implementation of the embodiment of the present application, the acquisition module 41 is specifically used to:
[0136] Determine, based on the detection result information, a light source receiver indicating that the light signal has been received;
[0137] The second position information of the light source receiver that receives the light signal is obtained, and the light-transmitting area is determined according to the second position information.
[0138] In another possible implementation of the embodiment of the present application, the detection module 42 is further configured to:
[0139] Acquire a first number of light source receivers that receive the light signal and a second number of light source receivers that do not receive the light signal;
[0140] It is determined whether the opaque area is smaller than the translucent area according to the first number and the second number.
[0141] In another possible implementation of the embodiment of the present application, the detection module 42 is further configured to:
[0142] Obtaining weight information and water absorption information of the clothes to be washed, where the water absorption information is related to the material of the clothes to be washed;
[0143] Determine the target water volume and target water level according to the weight information and the water absorption rate information; wherein the target water volume is obtained by the washing device according to the weight information, and the target water level is obtained by the washing device according to the target water volume and the water absorption rate information;
[0144] The actual water level is obtained, and according to the actual water level and the target water level, it is determined whether to output a second alarm message, where the second alarm message is used to indicate the presence of foreign matter in the washing device.
[0145] In another possible implementation of the embodiment of the present application, the detection module 42 is specifically used to:
[0146] If the actual water level is higher than the target water level, determine to output the second alarm information;
[0147] If the actual water level is not higher than the target water level, the second indication information is output, and the second indication information is used to instruct the washing device to start washing.
[0148] A foreign body detection device provided in an embodiment of the present application is applicable to the above method embodiment and will not be described in detail here.
[0149] An electronic device is provided in an embodiment of the present application, such as Figure 5 As shown, Figure 5 The heating control device shown includes: a processor 51 and a memory 52. The processor 51 and the memory 52 are connected, such as through a bus 53. Optionally, the electronic device may further include a transceiver 54. It should be noted that in actual applications, the transceiver 54 is not limited to one, and the structure of the electronic device does not constitute a limitation on the embodiments of the present application.
[0150] The processor 51 may be a central processing unit 51 (CPU), a general processor 51, a digital signal processor 51 (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 51 may also be a combination that implements computing functions, such as a combination of one or more microprocessors 51, a combination of a DSP and a microprocessor 51, etc.
[0151] The bus 53 may include a path to transmit information between the above components. The bus 53 may be a Peripheral Component Interconnect (PCI) bus 53 or an Extended Industry Standard Architecture (EISA) bus 53, etc. The bus 53 may be divided into an address bus 53, a data bus 53, a control bus 53, etc. For ease of representation, Figure 5 Only one thick line is used in the figure, but it does not mean that there is only one bus 53 or only one type of bus 53.
[0152] The memory 52 can be a read-only memory 52 (ROM) or other types of static storage devices that can store static information and instructions, a random access memory 52 (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory 52 (EEPROM), a compact disc (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0153] The memory 52 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 51. The processor 51 is used to execute the application code stored in the memory 52 to implement the contents shown in the above method embodiment.
[0154] The heating control device includes, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0155] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.
[0156] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0157] It should be understood that the present application is not limited to the precise structures that have 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 application is limited only by the appended claims.
Claims
1. A foreign body detection method, It is characterized in that include: Acquiring light transmission detection information of the clothes to be washed, wherein the light transmission detection information is used to indicate a light-transmitting area and / or a light-impermeable area of the clothes to be washed in the washing device; If the opaque area exists in the laundry to be washed and the opaque area is smaller than the translucent area, outputting a first alarm message, wherein the first alarm message is used to indicate that a foreign object exists in the washing device; Otherwise, a first indication information is output, where the first indication information is used to instruct to start the washing device.
2. The method according to claim 1, It is characterized in that Before obtaining the light transmission detection information of the laundry to be washed, the method further includes: Acquire the detection result information sent by the light source receiver, wherein the washing device is provided with a light source and the light source receiver, the light source receiver is arranged at a position opposite to the light source, and the light source receiver is provided in plurality and evenly distributed; The step of obtaining light transmission detection information of the laundry to be washed comprises: The light transmission detection information is determined according to the detection result information.
3. The method according to claim 2, It is characterized in that The step of determining the light transmission detection information according to the detection result information includes: Determining, based on the detection result information, a light source receiver indicating that no light signal has been received; The first position information of the light source receiver that has not received the light signal is acquired, and the light-proof area is determined according to the first position information.
4. The method according to claim 3, It is characterized in that The step of determining the light transmission detection information according to the detection result information includes: Determining, based on the detection result information, a light source receiver indicating that a light signal has been received; The second position information of the light source receiver that receives the light signal is acquired, and the light-transmitting area is determined according to the second position information.
5. The method according to claim 4, It is characterized in that The method further comprises: Acquire a first number of light source receivers that receive the light signal and a second number of light source receivers that do not receive the light signal; It is determined whether the opaque area is smaller than the translucent area according to the first number and the second number.
6. The method according to claim 1, It is characterized in that After outputting the first indication information, the method further includes: Acquiring weight information and water absorption rate information of the clothes to be washed, wherein the water absorption rate information is related to the material of the clothes to be washed; Determine a target water volume and a target water level according to the weight information and the water absorption rate information; wherein the target water volume is obtained by the washing device according to the weight information, and the target water level is obtained by the washing device according to the target water volume and the water absorption rate information; The actual water level is obtained, and according to the actual water level and the target water level, it is determined whether to output a second alarm message, wherein the second alarm message is used to indicate that a foreign object exists in the washing device.
7. The method according to claim 6, It is characterized in that The step of determining whether to output second alarm information according to the actual water level and the target water level includes: If the actual water level is higher than the target water level, determining to output the second alarm information; If the actual water level is not higher than the target water level, second indication information is output, where the second indication information is used to instruct the washing device to start washing.
8. A foreign body detection device, It is characterized in that include: An acquisition module, used for acquiring light transmission detection information of the clothes to be washed, wherein the light transmission detection information is used for indicating the light transmission area and the light-proof area of the clothes to be washed in the washing device; a detection module, configured to output a first alarm message when the opaque area exists in the laundry to be washed and the opaque area is smaller than the translucent area, wherein the first alarm message is used to indicate that a foreign object exists in the washing device; The detection module is further used to output first indication information when the opaque area does not exist in the clothes to be washed, or when the opaque area exists and is larger than the translucent area, wherein the first indication information is used to instruct to start the washing device.
9. An electronic device, It is characterized in that include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the foreign matter detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the foreign matter detection method according to any one of claims 1 to 7.
