Method, apparatus, device and medium for completing a laundry treatment program

By acquiring multiple actual processing procedures and finite state machines for the clothing processing cycle, the missing processing procedures for abnormal cycles are identified and completed, thus solving the data loss problem caused by network instability and improving the accuracy of data analysis and information utilization.

CN118531594BActive Publication Date: 2025-11-25QINGDAO HAIER WASHING MASCH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310147836.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2025-11-25
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

During the data transmission process of garment processing equipment, data loss in the garment processing program may occur due to network instability or interruption, affecting the accuracy of subsequent data analysis.

Method used

By acquiring multiple actual processing procedures for the clothing processing cycle, a finite state machine is used to determine whether any procedures are missing, and the time limit range is determined based on the type of missing procedure. Missing procedures are then acquired to complete the abnormal cycle.

Benefits of technology

It improves the accuracy of data analysis, makes full use of valuable information in abnormal cycles, and avoids information waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118531594B_ABST
    Figure CN118531594B_ABST
Patent Text Reader

Abstract

The application relates to a completion method, device, equipment and medium of a clothes processing program. The method comprises the following steps: obtaining and analyzing a clothes processing cycle of a clothes processing device to obtain a plurality of actual processing programs under the clothes processing cycle; judging whether the clothes processing cycle is missing according to the plurality of actual processing programs and a finite state machine corresponding to the clothes processing device, wherein the finite state machine comprises a state transition relationship of a target processing program of the clothes processing device; if the clothes processing cycle is missing, obtaining a missing type of the clothes processing cycle, and obtaining a time limit range according to the missing type, wherein the missing type comprises at least one of a beginning part missing, an intermediate process missing or an ending part missing; and obtaining a missing processing program according to the time limit range and the finite state machine to complete the clothes processing cycle. The application determines the missing processing program on the basis of the actual processing program and the time limit range in combination with the finite state machine, and completes the missing clothes processing cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of smart home appliances, and specifically relates to a method, apparatus, device and medium for completing a clothing processing procedure. Background Technology

[0002] With the development of technology and the improvement of people's living standards, people have put forward increasingly higher demands for clothing processing equipment such as washing machines and dryers. Each clothing processing process is called a clothing processing cycle, and the processing procedures executed by the clothing processing equipment in the clothing processing cycle data are an indispensable and important part of equipment upgrades and renovations.

[0003] In existing technologies, clothing processing equipment typically transmits clothing processing cycle data to a data center via a network. This allows the data to be analyzed and reconstructed to identify the various processing procedures running in each clothing processing cycle, thereby revealing the program's operation during each processing step and providing support for subsequent intelligent analysis.

[0004] However, network instability or interruptions may occur during data transmission, leading to incomplete or abnormal cycles, resulting in missing program data and making it difficult to guarantee the accuracy of subsequent data analysis. Summary of the Invention

[0005] In order to solve the above-mentioned problems in the prior art, namely, to supplement the incomplete program data under the abnormal clothing processing cycle and thereby improve the accuracy of data analysis, this application provides a method, apparatus, device and medium for supplementing clothing processing program.

[0006] Firstly, this application provides a method for completing a clothing processing procedure, comprising:

[0007] The clothing processing cycle of the clothing processing equipment is obtained and analyzed to obtain multiple actual processing procedures under the clothing processing cycle;

[0008] Based on the multiple actual processing procedures and the finite state machine corresponding to the clothing processing equipment, it is determined whether the clothing processing cycle is missing, wherein the finite state machine includes the state transition relationship of the target processing procedure of the clothing processing equipment;

[0009] If missing, the missing type of the clothing processing cycle is obtained, and the time limit range is obtained according to the missing type. The missing type includes at least one of the following: missing at the beginning, missing in the middle of the process, or missing at the end.

[0010] Based on the time limit range and the finite state machine, a missing processing procedure is obtained to complete the clothing processing cycle.

[0011] In one possible implementation, obtaining the time limit range based on the missing type includes:

[0012] An auxiliary cycle is determined based on the missing type, wherein if the missing type is a missing beginning part, the auxiliary cycle is the previous cycle; if the missing type is a missing middle part, the auxiliary cycle is the current cycle; and if the missing type is a missing end part, the auxiliary cycle is the next cycle.

[0013] The time limit range is determined based on the auxiliary period.

[0014] In one possible implementation, determining the time limit range based on the auxiliary period includes:

[0015] When the missing type is a partial missing start, the time limit range is determined to be from the end time of the previous cycle to the start time of the current cycle.

[0016] When the missing type is intermediate process missing, the time limit range is determined to be from the start time of the missing period to the end time of the missing period.

[0017] When the missing type is the end part missing, the time limit range is determined to be from the end time of the current period to the start time of the next period.

[0018] In one possible implementation, obtaining the missing data handling procedure based on the time bound and the finite state machine includes:

[0019] Based on the multiple actual processing procedures and the finite state machine, multiple candidate state paths are determined;

[0020] Among the multiple candidate state paths, a clothing processing state path that satisfies the time limit range is determined, wherein the clothing processing state path includes the multiple actual processing procedures and missing processing procedures;

[0021] Based on the clothing processing status path and the multiple actual processing procedures, obtain the missing processing procedure.

[0022] In one possible implementation, if there are multiple clothing processing state paths, the method further includes:

[0023] Obtain the clothing type corresponding to the clothing processing cycle;

[0024] Candidate processing cycles are obtained from the clothing type library based on the clothing type, and the target processing cycle corresponding to each clothing type in the clothing type library is determined based on historical clothing processing cycles;

[0025] Obtain the similarity between the candidate processing cycle and the multiple clothing processing state paths, and take the clothing processing state path with the highest similarity as the target state path;

[0026] Based on the target state path and the multiple actual processing procedures, obtain the missing processing procedure.

[0027] In one possible implementation, before retrieving candidate processing cycles from the clothing type library based on the clothing type, the method further includes:

[0028] Retrieve at least one historical clothing processing cycle corresponding to each clothing type from the historical cycle database;

[0029] For each clothing type, the most frequent historical clothing processing cycle for that clothing type is taken as the target processing cycle for that clothing type.

[0030] In one possible implementation, the method further includes:

[0031] When the clothing processing cycle is not missing or is replenished, the clothing processing cycle and the corresponding clothing type are stored in the historical cycle database.

[0032] Secondly, this application provides a device for completing a garment processing procedure, comprising:

[0033] The first processing module is used to acquire and parse the clothing processing cycle of the clothing processing equipment to obtain multiple actual processing programs under the clothing processing cycle.

[0034] The second processing module is used to determine whether the clothing processing cycle is missing based on the plurality of actual processing programs and the finite state machine corresponding to the clothing processing equipment, wherein the finite state machine includes the state transition relationship of the target processing program of the clothing processing equipment; if missing, the missing type of the clothing processing cycle is obtained, and the time limit range is obtained according to the missing type, wherein the missing type includes at least one of the following: missing beginning part, missing middle process, or missing end part.

[0035] The third processing module is used to obtain a missing processing program based on the time limit range and the finite state machine, so as to complete the clothing processing cycle.

[0036] Thirdly, this application provides an electronic device, including: at least one processor and a memory;

[0037] The memory stores the instructions that the computer executes;

[0038] At least one processor executes computer execution instructions stored in memory, causing at least one processor to execute the completion method of the clothing processing program as described above.

[0039] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the clothing processing program completion method as described above.

[0040] The clothing processing procedure completion method, apparatus, device, and medium provided in this application acquire and parse the clothing processing cycle of a clothing processing device to obtain multiple actual processing programs under the clothing processing cycle; based on the multiple actual processing programs and the finite state machine corresponding to the clothing processing device, determine whether the clothing processing cycle is missing, wherein the finite state machine includes the state transition relationship of the target processing program of the clothing processing device; if missing, acquire the missing type of the clothing processing cycle, and acquire a time limit range based on the missing type, wherein the missing type includes at least one of missing beginning part, missing middle process, or missing end part; based on the time limit range and the finite state machine, acquire the missing processing program to complete the clothing processing cycle.

[0041] In the above method, multiple actual processing procedures in the clothing processing cycle are obtained and compared with a finite state machine that includes the state transition relationships of the clothing processing equipment processing procedures. This clarifies whether the clothing processing cycle is missing and classifies the missing clothing processing cycles. Then, based on the type of missing cycle, the time limit range of the missing processing procedure is determined. By combining the finite state machine, the possible state changes of the clothing processing procedure during the missing process are inferred, and the missing processing procedure is determined. This completes the abnormal and incomplete cycle caused by data loss, makes full use of the valuable information in the abnormal cycle, improves data utilization, and avoids the waste of parsing and data analysis. 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 This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0044] Figure 2 A schematic diagram of the state transition relationship of a finite state machine clothing processing procedure provided in this application embodiment;

[0045] Figure 3 The flowchart of a method for completing a clothing processing procedure provided in this application embodiment Figure 1 ;

[0046] Figure 4 The flowchart of a method for completing a clothing processing procedure provided in this application embodiment Figure 2 ;

[0047] Figure 5 The flowchart of a method for completing a clothing processing procedure provided in this application embodiment Figure 3 ;

[0048] Figure 6 A schematic diagram of the structure of a garment processing procedure completion device provided in an embodiment of the present invention;

[0049] Figure 7 This is a hardware schematic diagram of an electronic device provided in an embodiment of the present invention.

[0050] 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

[0051] 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.

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

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

[0054] In recent years, with the continuous development of technology and the increasing demands of users, the level of intelligence in clothing processing equipment such as washing machines and dryers has also improved. During the upgrading of clothing processing equipment, the program operation data during the clothing processing cycle is an important evaluation parameter.

[0055] However, when garment processing equipment transmits garment processing cycle data to the data center via the network, network instability or even outages may occur, leading to abnormal cycles with missing garment processing program data. Subsequent data analysis typically discards these abnormal cycles and only analyzes normal garment processing cycles. This not only wastes information but also fails to adequately reflect the value of the abnormal cycles.

[0056] Therefore, this application proposes a method to complete the missing abnormal clothing processing cycle in the program.

[0057] The following is combined Figure 1 The application scenarios of this application will be explained.

[0058] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, the scenario includes a clothing processing device 101 and a server 102. The server 102 is connected to a finite state machine corresponding to the clothing processing device 101. The finite state machine includes the state transition relationship of the clothing processing program of the clothing processing device 101.

[0059] A finite state machine (FSM) can effectively represent the various state changes during a certain life cycle. It is a model used to describe how an object transitions between different states. Its function is to describe the sequence of states that an object experiences during its life cycle and how it responds to various events from the outside world.

[0060] For example, if the clothing handling device 101 is a laundry device, then the finite state machine includes the state transition relationships of the laundry device's clothing washing program. Figure 2 This is a schematic diagram of the finite state machine steps of the washing equipment provided in the embodiments of this application. Figure 2 As shown, the finite state machine of a washing machine can encompass multiple state paths, such as start-program selection-run-spin-dry-shake-end, or start-program selection-run-wash-rinse-spin-dry-dry-care-soften-end.

[0061] The garment processing device 101 collects the garment processing cycle and sends it to the server 102. The server 102 parses the garment processing cycle to obtain multiple actual processing procedures under the garment processing cycle. Based on the multiple actual processing procedures and the finite state machine, it determines whether the garment processing cycle is missing. After determining that it is missing, the server 102 continues to obtain the missing type of the garment processing cycle and obtains the time limit range based on the missing type. The missing type includes at least one of the following: missing beginning part, missing middle process, or missing end part. Then, based on the time limit range and the finite state machine, the server 102 obtains the missing processing procedure and completes the above garment processing cycle.

[0062] Therefore, server 102 can determine whether the clothing processing cycle is missing and the type of missing cycle when it is missing through multiple actual processing programs and finite state machines. Then, it can obtain the time limit range of the missing processing program through the missing type, and determine the missing processing program according to the time limit range and finite state machine to complete the missing clothing processing cycle of clothing processing device 101, so as to make the subsequent data analysis more accurate.

[0063] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.

[0064] The following is combined Figure 3 The following describes the method for completing the clothing processing procedure of this application, along with specific embodiments.

[0065] Figure 3 The flowchart of a method for completing a clothing processing procedure provided in this application embodiment Figure 1 .like Figure 3 As shown, the method includes:

[0066] S301. Obtain and parse the clothing processing cycle of the clothing processing equipment to obtain multiple actual processing procedures under the clothing processing cycle.

[0067] The execution entity in this application embodiment can be a server or a clothing processing equipment control device installed in the server. The clothing processing equipment control device can be implemented through software or a combination of software and hardware.

[0068] The garment handling equipment can be a smart washing machine. For example, the garment handling equipment can communicate with a server, sending equipment information to the server and receiving control commands from the server.

[0069] In the above scheme, by analyzing the clothing processing cycle of the clothing processing equipment, the actual processing procedures run by the clothing processing equipment during the clothing processing cycle are collected, thereby understanding the state changes throughout the entire clothing processing process.

[0070] S302. Based on multiple actual processing procedures and the finite state machine corresponding to the clothing processing equipment, determine whether the clothing processing cycle is missing. The finite state machine includes the state transition relationship of the target processing procedure of the clothing processing equipment.

[0071] In this step, the finite state machine defines the relationship and changes of state transitions at each stage of the clothing processing cycle. By comparing multiple actual processing programs with multiple state paths in the finite state machine, it is possible to accurately determine whether there are any missing programs in the clothing processing cycle corresponding to these multiple actual processing programs.

[0072] In the specific implementation process, for example, such as Figure 2 As shown, the clothing processing device is a smart washing machine. The actual processing programs included in a certain clothing processing cycle are analyzed to be washing, spin-drying, and softening. However, the finite state machine corresponding to this smart washing machine does not contain a state path that only includes the above three processing programs. For example, it may be: start-program selection-run-wash-spin-soften-end or start-program selection-run-wash-soften-spin-end. Therefore, it can be accurately determined that the clothing processing cycle is not complete.

[0073] S303. If missing, obtain the missing type of the clothing processing cycle, and obtain the time limit range according to the missing type. The missing type includes at least one of the following: missing at the beginning, missing in the middle process, or missing at the end.

[0074] In this step, by identifying the location of the missing clothing processing cycle, we can know the approximate starting range of the missing clothing processing cycle, that is, the time limit range.

[0075] In the specific implementation process, for example, such as Figure 2 As shown, in all the state paths of the finite state machine that include washing, spin-drying and softening, washing is the program executed at the beginning, while softening is the program executed at the end. Therefore, it can be inferred that the missing type of the clothing processing cycle is the missing intermediate process, and the time limit range can be analyzed. The specific analysis and inference scheme will be described in the subsequent embodiments, which will not be elaborated here.

[0076] S304. Based on the time limit range and the finite state machine, obtain the missing processing procedure to complete the clothing processing cycle.

[0077] In the above scheme, the finite state machine may contain multiple state paths of the above-mentioned actual processing programs. Based on this, and combined with the time limit range, the missing processing program that is most likely to be executed can be selected, thereby completing the abnormal clothing processing cycle.

[0078] In this embodiment, multiple actual processing procedures under the clothing processing cycle are first analyzed. Then, the finite state machine corresponding to the clothing processing device is used to determine whether the clothing processing cycle is missing and the type of missing procedure. Then, the possible time limit range of the missing procedure is obtained through the missing procedure type. The missing procedure is then selected from multiple state paths of the finite state machine based on the time limit range to complete the missing clothing processing cycle.

[0079] The following is combined Figure 4 The following specific embodiments illustrate the implementation process of obtaining the time limit range based on the missing type of the clothing processing cycle in the clothing processing procedure completion method of this application.

[0080] Figure 4 The flowchart of a method for completing a clothing processing procedure provided in this application embodiment Figure 2 .like Figure 4 As shown, the method includes:

[0081] S401. Determine the auxiliary period based on the missing type. If the missing type is a missing beginning, the auxiliary period is the previous period. If the missing type is a missing middle, the auxiliary period is the current period. If the missing type is a missing end, the auxiliary period is the next period.

[0082] In this step, the missing type reflects the location of the missing part of the garment processing cycle. If the location is the beginning or end, then adjacent cycles are needed to help fill in the time limit range.

[0083] S402. Determine the time limit range based on the auxiliary period;

[0084] S403. When the missing type is start part missing, the time limit range is determined to be from the end time of the previous period to the start time of the current period.

[0085] S404. When the missing type is intermediate process missing, the time limit range is determined to be from the start time of the missing to the end time of the missing in this period.

[0086] S405. When the missing type is the end part missing, the time limit range is determined to be from the end time of the current period to the start time of the next period.

[0087] In the above scheme, when the clothing processing cycle is partially missing at the beginning, the retained start time of this cycle corresponds to the end time of the missing item. The possible start times of the missing item are between the end time of the clothing cycle and the end time of the missing item. Therefore, in this case, the time limit range is from the start time of the missing item to the end time of the missing item in this cycle. Similarly, the time limit range of the missing item processing procedure can be analyzed when the missing item type is intermediate process missing or final part missing.

[0088] In this embodiment of the application, a suitable clothing processing cycle is first selected as an auxiliary cycle based on the missing type of the abnormal clothing processing cycle. Then, based on the missing type and the auxiliary cycle, the possible start and / or end times of the missing are predicted, and the time limit range can be determined.

[0089] The following is combined Figure 5 The following specific embodiments illustrate the implementation process of obtaining the missing processing program based on the time limit range and finite state machine in the clothing processing program completion method of this application.

[0090] Figure 5 The flowchart of a method for completing a clothing processing procedure provided in this application embodiment Figure 2 .like Figure 5 As shown, the method includes:

[0091] S501. Based on multiple actual processing procedures and finite state machines, determine multiple candidate state paths.

[0092] In this step, the finite state machine defines the relationships and changes of state transitions at each stage of the clothing processing cycle. By matching multiple actual processing procedures with multiple state paths in the finite state machine, it is possible to accurately determine which state paths contain the aforementioned multiple actual processing procedures.

[0093] S502. Among multiple candidate state paths, determine the clothing processing state path that meets the time limit range, wherein the clothing processing state path includes multiple actual processing procedures and missing processing procedures.

[0094] In the above scheme, multiple actual processing procedures have been used as screening conditions to determine multiple candidate paths in the finite state machine. Based on this, the time limit range is used as a secondary screening condition to further determine a more accurate state path.

[0095] S503. If there is only one clothing processing state path, use the clothing processing state path as the target state path.

[0096] In this step, only one state path is found through secondary filtering, which means that this state path is the most likely clothing processing state path among all state paths.

[0097] S504. If there are multiple clothing processing status paths, obtain the clothing type corresponding to the clothing processing cycle.

[0098] In the above scheme, there may be multiple state paths obtained from the secondary screening. At this time, it is necessary to set screening conditions to determine the last possible clothing processing state path. In this embodiment, clothing type is used as the screening condition.

[0099] S505. Obtain candidate processing cycles from the clothing type library based on clothing type. The target processing cycle corresponding to each clothing type in the clothing type library is determined based on historical clothing processing cycles.

[0100] In this step, there may be multiple historical clothing processing cycles for different clothing types. By sorting the frequency of occurrence of multiple historical clothing processing cycles, we can reflect the clothing processing cycle that users prefer when processing different clothing items on a daily basis. Using the preferred historical clothing processing cycle as the target processing cycle is a manifestation of intelligence and helps to improve user satisfaction.

[0101] Before implementing the above solution, it is necessary to first obtain at least one historical clothing processing cycle corresponding to each clothing type from the historical cycle database; then, for each clothing type, the most historical clothing processing cycle corresponding to the clothing type is taken as the target processing cycle.

[0102] Of course, in order to expand the sample capacity of the historical cycle database and further improve the accuracy of future predictions, the clothing processing cycle and the corresponding clothing type are stored in the historical cycle database when the clothing processing cycle is not missing or after it is completed.

[0103] S506. Obtain the similarity between the candidate processing cycle and multiple clothing processing state paths, and take the clothing processing state path with the highest similarity as the target state path.

[0104] In the above scheme, the state path under the candidate processing cycle is complete. By comparing it with the multiple clothing processing state paths selected, the clothing processing state path with the highest similarity can be determined from the multiple clothing processing state paths. Thus, the scheme of using clothing type as a filtering condition to determine the target state path is realized.

[0105] S507. Based on the target state path and multiple actual processing procedures, obtain the missing processing procedure.

[0106] In this step, the target state path contains a complete clothing processing procedure. By removing the multiple actual processing procedures one by one, the missing processing procedure can be obtained directly.

[0107] In this embodiment of the application, by matching multiple actual processing procedures under the abnormal clothing processing cycle with multiple state paths in the finite state machine, possible candidate state paths can be determined. Then, by using the time limit range as a filtering condition, possible clothing processing state paths can be selected from the candidate state paths.

[0108] In summary, the clothing processing procedure completion method provided in this application obtains multiple actual processing procedures in the clothing processing cycle and compares them with a finite state machine that includes the state transition relationships of the clothing processing equipment processing procedures. This clarifies whether a clothing processing cycle is missing and classifies the missing clothing processing cycles. Then, based on the type of missing cycle, the time limit range of the missing processing procedure is determined. Finally, the possible state changes of the clothing processing procedure during the missing process are inferred by combining the finite state machine to determine the missing processing procedure. This completes the abnormal and incomplete cycle caused by data loss. This not only makes it easier to make full use of valuable information in the abnormal cycle and improves data utilization, but also avoids the waste of parsing and data analysis.

[0109] Figure 6 This is a schematic diagram of the structure of a garment processing procedure completion device provided in an embodiment of the present invention, as shown below. Figure 6 As shown, the garment processing procedure completion device may include various functional modules for implementing the aforementioned garment processing procedure completion method, and any functional module may be implemented by software / or hardware.

[0110] For example, the completion device of the clothing processing procedure may include: a first processing module 601, a second processing module 602 and a third processing module 603;

[0111] The first processing module 601 is used to acquire and parse the clothing processing cycle of the clothing processing equipment to obtain multiple actual processing programs under the clothing processing cycle.

[0112] The second processing module 602 is used to determine whether the clothing processing cycle is missing based on multiple actual processing programs and the finite state machine corresponding to the clothing processing equipment. The finite state machine includes the state transition relationship of the target processing program of the clothing processing equipment. If missing, the missing type of the clothing processing cycle is obtained, and the time limit range is obtained according to the missing type. The missing type includes at least one of the following: missing beginning part, missing middle process, or missing end part.

[0113] The third processing module 603 is used to obtain the missing processing program based on the time limit range and the finite state machine, so as to complete the clothing processing cycle.

[0114] Optionally, the second processing module 602 can also be specifically used to: determine an auxiliary period based on the missing type, wherein if the missing type is a missing beginning part, the auxiliary period is the previous period; if the missing type is a missing middle part, the auxiliary period is the current period; and if the missing type is a missing end part, the auxiliary period is the next period; and determine the time limit range based on the auxiliary period.

[0115] Optionally, the second processing module 602 can also be used to determine the time limit range as the period from the end of the previous period to the start of the current period when the missing type is a start partial missing; to determine the time limit range as the period from the start time of the missing to the end time of the missing when the missing type is an intermediate process missing; and to determine the time limit range as the period from the end time of the current period to the start time of the next period when the missing type is an end partial missing.

[0116] Optionally, the third processing module 603 may also be specifically used to: determine multiple candidate state paths based on multiple actual processing programs and a finite state machine; determine the clothing processing state path that meets the time limit range among the multiple candidate state paths, wherein the clothing processing state path includes multiple actual processing programs and a missing processing program; and obtain the missing processing program based on the clothing processing state path and the multiple actual processing programs.

[0117] Optionally, the third processing module 603 can also be used to obtain the clothing type corresponding to the clothing processing cycle when there are multiple clothing processing state paths; obtain candidate processing cycles from the clothing type library according to the clothing type, wherein the target processing cycle corresponding to each clothing type in the clothing type library is determined based on historical clothing processing cycles; obtain the similarity between the candidate processing cycle and multiple clothing processing state paths, and take the clothing processing state path with the highest similarity as the target state path; and obtain the missing processing program according to the target state path and multiple actual processing programs.

[0118] The clothing processing procedure completion device is used to execute the technical solution provided in the aforementioned clothing processing procedure completion method embodiment. Its implementation principle and technical effect are similar to those in the aforementioned method embodiment, and will not be repeated here.

[0119] This application also provides an electronic device, including: at least one processor and a memory;

[0120] The memory stores the instructions that the computer executes;

[0121] At least one processor executes computer execution instructions stored in memory, causing the at least one processor to execute a completion method for a clothing processing program.

[0122] Figure 7 This is a hardware schematic diagram of an electronic device provided in an embodiment of the present invention. For example... Figure 7As shown, the electronic device 70 provided in this embodiment includes at least one processor 701, a memory 702, and a finite state machine 703. The processor 701, memory 702, and finite state machine 703 are connected via a bus 704.

[0123] In the specific implementation process, the finite state machine 703 is used to construct the state transition relationship of the clothing processing program of the clothing processing equipment.

[0124] The finite state machine 703 is connected to at least one processor 701;

[0125] Memory 702 stores instructions executed by the computer;

[0126] At least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to execute the completion method of the above-mentioned clothing processing program.

[0127] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0128] In the above Figure 7 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.

[0129] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0130] 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.

[0131] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the clothing processing program completion method described above.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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.

[0139] 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 method for completing a clothing processing procedure, characterized in that, include: The clothing processing cycle of the clothing processing equipment is obtained and analyzed to obtain multiple actual processing procedures under the clothing processing cycle; Based on the multiple actual processing procedures and the finite state machine corresponding to the clothing processing equipment, it is determined whether the clothing processing cycle is missing, wherein the finite state machine includes the state transition relationship of the target processing procedure of the clothing processing equipment; If missing, the missing type of the clothing processing cycle is obtained, and the time limit range is obtained according to the missing type. The missing type includes at least one of the following: missing at the beginning, missing in the middle of the process, or missing at the end. Based on the time limit range and the finite state machine, a missing processing procedure is obtained to complete the clothing processing cycle.

2. The method according to claim 1, characterized in that, The step of obtaining the time limit range based on the missing type includes: An auxiliary cycle is determined based on the missing type, wherein if the missing type is a missing beginning part, the auxiliary cycle is the previous cycle; if the missing type is a missing middle part, the auxiliary cycle is the current cycle; and if the missing type is a missing end part, the auxiliary cycle is the next cycle. The time limit range is determined based on the auxiliary period.

3. The method according to claim 2, characterized in that, Determining the time limit range based on the auxiliary period includes: When the missing type is a partial missing start, the time limit range is determined to be from the end time of the previous cycle to the start time of the current cycle. When the missing type is intermediate process missing, the time limit range is determined to be from the start time of the missing period to the end time of the missing period. When the missing type is the end part missing, the time limit range is determined to be from the end time of the current period to the start time of the next period.

4. The method according to claim 3, characterized in that, The step of obtaining the missing data handling procedure based on the time limit range and the finite state machine includes: Based on the multiple actual processing procedures and the finite state machine, multiple candidate state paths are determined; Among the multiple candidate state paths, a clothing processing state path that satisfies the time limit range is determined, wherein the clothing processing state path includes the multiple actual processing procedures and missing processing procedures; Based on the clothing processing status path and the multiple actual processing procedures, obtain the missing processing procedure.

5. The method according to claim 4, characterized in that, If there are multiple clothing processing status paths, the method further includes: Obtain the clothing type corresponding to the clothing processing cycle; Candidate processing cycles are obtained from the clothing type library based on the clothing type, and the target processing cycle corresponding to each clothing type in the clothing type library is determined based on historical clothing processing cycles; Obtain the similarity between the candidate processing cycle and the multiple clothing processing state paths, and take the clothing processing state path with the highest similarity as the target state path; Based on the target state path and the multiple actual processing procedures, obtain the missing processing procedure.

6. The method according to claim 5, characterized in that, Before obtaining candidate processing cycles from the clothing type library based on the clothing type, the method further includes: Retrieve at least one historical clothing processing cycle corresponding to each clothing type from the historical cycle database; For each clothing type, the most frequent historical clothing processing cycle for that clothing type is taken as the target processing cycle for that clothing type.

7. The method according to claim 6, characterized in that, The method further includes: When the clothing processing cycle is not missing or is replenished, the clothing processing cycle and the corresponding clothing type are stored in the historical cycle database.

8. A device for completing a garment processing procedure, characterized in that, include: The first processing module is used to acquire and parse the clothing processing cycle of the clothing processing equipment to obtain multiple actual processing programs under the clothing processing cycle. The second processing module is used to determine whether the clothing processing cycle is missing based on the plurality of actual processing programs and the finite state machine corresponding to the clothing processing equipment, wherein the finite state machine includes the state transition relationship of the target processing program of the clothing processing equipment; if missing, the missing type of the clothing processing cycle is obtained, and the time limit range is obtained according to the missing type, wherein the missing type includes at least one of the following: missing beginning part, missing middle process, or missing end part. The third processing module is used to obtain a missing processing program based on the time limit range and the finite state machine, so as to complete the clothing processing cycle.

9. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the completion method of the clothing processing program as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the completion method of the clothing processing program as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Laundry treatment device and method of determining laundry course thereof

    CN111379119A

  • Improved data entry systems

    WO2012098544A2