Washing process generation method and device, electronic equipment and storage medium

By extracting and converting the data of the process table and parameter table in the washing table, the MCU-compiled file is generated, which solves the problem of inefficient parameters in the existing technology, and automatically generates the washing process, shortens the development cycle and improves the Code quality.

CN119493571APending Publication Date: 2025-02-21WUXI RONGCHENG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411522794.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The prior art artificially converts parameters in the washing process table into software code, which is inefficient, has a huge workload, poor code readability, and is difficult to follow-up expansion development.

Method used

The washing process is finally generated by extracting the data of the process table and the data of the parameter table in the pre-built wash table and converting it into an MCU-compilable file by calling the tool.

Benefits of technology

The automatic generation and washing process is realized, which greatly shortens the project development cycle, simplifies the implementation process, and improves the readability of code and subsequent expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493571A_ABST
    Figure CN119493571A_ABST
Patent Text Reader

Abstract

The invention discloses a washing process generation method and device, electronic equipment and a storage medium. The method comprises the following steps: extracting data of a flow table and data of a parameter table from a pre-constructed washing table; the data of the flow table and the data of the parameter table are converted into files capable of being compiled by the MCU through a calling tool; and compiling the file which can be compiled by the MCU to generate a final washing process. According to the embodiment of the invention, the washing process can be automatically generated, and the project development period is greatly shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart home appliance control technology, and in particular, to a washing process generation method, device, electronic device and storage medium. Background Art

[0002] Generally speaking, the electronic control software framework of drum washing machines is divided into the driver layer, the common basic component layer and the application layer. The driver layer is strongly related to the hardware system. Figure 1 Once it is determined, the software driver is basically finalized and will not be changed. The public basic layer plays the role of a bridge. On the one hand, it reads the driver layer software to the hardware signal for processing and packaging, and distributes and submits it to the application layer. On the other hand, it obtains the user event signal from the application layer, classifies it, and drives and controls specific hardware modules. The upper application layer is mainly responsible for all washing program definitions, including all parameters involved in each program from the beginning to the end of washing, such as motor speed setting, water inlet setting, heating temperature setting, and water inlet valve setting. These settings must be extracted based on the washing process table, default parameter table, and specification sheet provided by the customer.

[0003] At present, the practice is to manually convert the parameters involved in these flow charts into software codes. This has the following disadvantages: 1) Low efficiency, the parameters in the flow chart are complicated, and it is a huge workload to define them one by one in the code; 2) The code is poorly readable and cannot be maintained, making subsequent expansion development difficult. Summary of the invention

[0004] The present application provides a washing process generation method, device, electronic device and storage medium, which can automatically generate a washing process and greatly shorten the project development cycle.

[0005] In a first aspect, an embodiment of the present application provides a method for generating a washing process, the method comprising:

[0006] Extract the data of the process table and parameter table from the pre-built washing table;

[0007] The data of the flow table and the data of the parameter table are converted into a file that can be compiled by the MCU by calling a tool;

[0008] The MCU-compilable file is compiled to generate a final washing process.

[0009] In a second aspect, the embodiment of the present application further provides a washing process generation device, the device comprising: an extraction module, a conversion module and a generation module; wherein:

[0010] The extraction module is used to extract the data of the process table and the data of the parameter table from the pre-built washing table;

[0011] The conversion module is used to convert the data of the flow table and the data of the parameter table into a file that can be compiled by the MCU by calling a tool;

[0012] The generating module is used to compile the file that can be compiled by the MCU to generate a final washing process.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0014] one or more processors;

[0015] a memory for storing one or more programs,

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the washing process generation method described in any embodiment of the present application.

[0017] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the washing process generation method described in any embodiment of the present application is implemented.

[0018] The embodiment of the present application proposes a method, device, electronic device and storage medium for generating a washing process. First, the data of the flow table and the data of the parameter table are extracted from the pre-built washing table; then the data of the flow table and the data of the parameter table are converted into a file that can be compiled by MCU by calling a tool; and then the file that can be compiled by MCU is compiled to generate the final washing process. That is to say, in the technical scheme of the present application, the washing process can be automatically generated by extracting the data of the flow table and the data of the parameter table from the washing table. In the prior art, the parameters involved in the flow table are usually artificially converted into software code, which is inefficient, has a huge workload, poor code readability, does not utilize maintenance, and has great difficulty in subsequent expansion development. Therefore, compared with the prior art, the washing process generation method, device, electronic device and storage medium proposed in the embodiment of the present application can automatically generate a washing process, greatly shortening the project development cycle; and the technical scheme of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider range of applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram of a washing process generation method provided in an embodiment of the present application;

[0020] Figure 2 A schematic diagram of a washing process generation method provided in another embodiment of the present application;

[0021] Figure 3 A schematic diagram of a washing process generation method provided in yet another embodiment of the present application;

[0022] Figure 4 A schematic diagram of the structure of a washing process generating device provided in one embodiment of the present application;

[0023] Figure 5 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0024] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0025] Figure 1 This is a flow chart of a method for generating a washing process according to an embodiment of the present application. The method can be executed by a washing process generating device or an electronic device. The device or electronic device can be implemented by software and / or hardware. The device or electronic device can be integrated into any smart device with network communication function. Figure 1 As shown, the washing process generation method may include the following steps:

[0026] S101. Extracting data of a process table and data of a parameter table from a pre-constructed washing table.

[0027] In this step, the washing table can be first converted into a first intermediate file, a second intermediate file, and a third intermediate file; wherein the washing table is in Excel format; the first intermediate file, the second intermediate file, and the third intermediate file are all in txt format; the first intermediate file is: AKO.txt; the second intermediate file is: CUSTOMER.txt; the third intermediate file is: PROGRAM.txt; then based on the first intermediate file, the second intermediate file, and the third intermediate file, the data of the flow table and the data of the parameter table are extracted. The first intermediate file in the embodiment of the present application is used to store the type structure of the washing process and key data involved in the flow table and the parameter table; the second intermediate file is used to store the key data involved in the flow table and the parameter table; the third intermediate file is used to store the washing process involved in the flow table and the parameter table.

[0028] S102: Convert the data in the flow table and the data in the parameter table into a file that can be compiled by the MCU by calling a tool.

[0029] The MCU compilable files in the embodiment of the present application include: a first compilable file and a second compilable file; wherein the first compilable file is used to store the washing process and key data involved in the process table and parameter table; the second compilable file is used to store the definition of the first type and the first data size corresponding to the washing process and the definition of the second type and the second data size corresponding to the key data. Further, the washing table can be: WashTable; the first compilable file can be: Watcotab.c file; the second compilable file can be: WatcoDef.h file.

[0030] In this step, the data of the flow table and the parameter table are converted into files that can be compiled by the MCU by calling the tool. The following steps can be included: 1) Data preparation: Flow table: Make sure that the flow table has defined the operation sequence of the system or program in detail, including state transitions, conditional judgments, etc. Parameter table: Confirm that the parameter table contains all necessary configuration information, such as timer settings, communication baud rates, sensor thresholds, etc. 2) Processing using scripting languages: Python, Perl or other languages ​​suitable for text processing can be used to write scripts to read the table content and convert it into C / C++ code or directly into binary / hexadecimal format that can be directly used by the MCU. 3) Using specialized tools: The development environment can provide the function of directly importing configurations from Excel or other spreadsheet software into the project. For example, STM32CubeMX allows users to configure hardware parameters through a graphical interface and automatically generate initialization code. 4) Automated build process: Integrate the above steps into the automated build process, such as using a build system such as Makefile or CMake, so that the corresponding source code files can be automatically regenerated each time the table is updated.

[0031] S103, compile the MCU-compilable file to generate a final washing process.

[0032] In this step, the MCU-compilable file is compiled into a program that can eventually run on the microcontroller. The following steps can be included: 1) Prepare the development environment: Select a suitable IDE: such as KeilμVision, IAR EmbeddedWorkbench, or Eclipse-based plug-in. Install the compiler: Make sure that the correct version of the compiler for the MCU model used is installed in the development environment. Configure project settings: including MCU model, clock frequency, optimization level, etc. 2) Import or create a project: If it is a new project, create a new project in the IDE. If there is an existing project, open the existing project and import the newly generated source files. 3) Add source files: Add the generated C / C++ source files to the project. This can include the main function file, configuration files, and other related library files. 4) Configure compilation options: Adjust the compiler options as needed, such as memory allocation, stack size, etc. 5) Write / check the main control logic to ensure that the main function or other startup point can correctly initialize the system and call the relevant functions of the washing process. 6) Compile the project: Execute the compilation command in the IDE. If there are errors or warnings, modify them according to the prompts until the compilation is successful. After successful compilation, a binary file (.hex, .bin, etc.) will be generated, which can be directly burned into the MCU. 7) Download firmware: Use a programmer or download the generated binary file to the target MCU via the serial interface (depending on the method supported by the MCU and development board). For some development boards, online debugging and program updates can be performed directly via USB.

[0033] The washing process generation method proposed in the embodiment of the present application first extracts the data of the flow table and the data of the parameter table from the pre-built washing table; then converts the data of the flow table and the data of the parameter table into a file that can be compiled by MCU by calling a tool; and then compiles the file that can be compiled by MCU to generate the final washing process. That is to say, in the technical solution of the present application, the washing process can be automatically generated by extracting the data of the flow table and the data of the parameter table from the washing table. In the prior art, the parameters involved in the flow table are usually manually converted into software code, which is inefficient, has a huge workload, poor code readability, does not utilize maintenance, and has great difficulty in subsequent expansion development. Therefore, compared with the prior art, the washing process generation method proposed in the embodiment of the present application can automatically generate a washing process, greatly shortening the project development cycle; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider range of applications.

[0034] Figure 2 A schematic diagram of a washing process generation method provided in another embodiment of the present application. The above technical solution is further optimized and expanded, and can be combined with the above optional implementation methods. Figure 2As shown, the washing process generation method may include the following steps:

[0035] S201, converting the washing table into the first intermediate file, the second intermediate file and the third intermediate file; wherein the washing table is in Excel format; the first intermediate file, the second intermediate file and the third intermediate file are all in TXT format; the first intermediate file is: AKO.txt; the second intermediate file is: CUSTOMER.txt; the third intermediate file is: PROGRAM.txt.

[0036] S202: Extract data of the process table and data of the parameter table based on the first intermediate file, the second intermediate file and the third intermediate file.

[0037] In this step, the first intermediate file, the second intermediate file, and the third intermediate file can be converted into a first temporary file and a second temporary file by calling a tool; wherein the first temporary file is: WP file; the second temporary file is: WD file; then the first temporary file and the second temporary file are translated into a load disconnection file, and the data of the flow table and the data of the parameter table are parsed in the load disconnection file. The calling tool in the embodiment of the present application can be WatCo software. The first temporary file can be a file of workflow parameters (Workflow Parameters), and the second temporary file can be a file of work description (Workflow Description).

[0038] S203 , converting the data in the flow table and the data in the parameter table into a file that can be compiled by the MCU by calling a tool.

[0039] S204, compile the MCU-compilable file to generate a final washing process.

[0040] The washing process generation method proposed in the embodiment of the present application first extracts the data of the flow table and the data of the parameter table from the pre-built washing table; then converts the data of the flow table and the data of the parameter table into a file that can be compiled by MCU by calling a tool; and then compiles the file that can be compiled by MCU to generate the final washing process. That is to say, in the technical solution of the present application, the washing process can be automatically generated by extracting the data of the flow table and the data of the parameter table from the washing table. In the prior art, the parameters involved in the flow table are usually manually converted into software code, which is inefficient, has a huge workload, poor code readability, does not utilize maintenance, and has great difficulty in subsequent expansion development. Therefore, compared with the prior art, the washing process generation method proposed in the embodiment of the present application can automatically generate a washing process, greatly shortening the project development cycle; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider range of applications.

[0041] Figure 3 A schematic diagram of a washing process generation method provided in another embodiment of the present application. The above technical solution is further optimized and expanded, and can be combined with the above optional implementation methods. Figure 3 As shown, the washing process generation method may include the following steps:

[0042] S301, converting the washing table into the first intermediate file, the second intermediate file and the third intermediate file; wherein the washing table is in Excel format; the first intermediate file, the second intermediate file and the third intermediate file are all in TXT format; the first intermediate file is: AKO.txt; the second intermediate file is: CUSTOMER.txt; the third intermediate file is: PROGRAM.txt.

[0043] S302. Convert the first intermediate file, the second intermediate file and the third intermediate file into a first temporary file and a second temporary file by calling a tool; wherein the first temporary file is a WP file and the second temporary file is a WD file.

[0044] S303: Translate the first temporary file and the second temporary file into a load disconnection file, and parse the data of the process table and the data of the parameter table from the load disconnection file.

[0045] The load disconnection file in the embodiment of the present application is a configuration file, which contains the timetable, conditions and other related parameters for controlling the on and off of the load (such as a motor, heater, etc.). This file is usually used in an automation system to programmatically control the working state of the device to ensure that the device operates according to the predetermined time and conditions.

[0046] S304: Convert the data in the flow table and the data in the parameter table into a file that can be compiled by the MCU by calling a tool.

[0047] S305 , compile the MCU-compilable file to generate a final washing process.

[0048] The washing process generation method proposed in the embodiment of the present application first extracts the data of the flow table and the data of the parameter table from the pre-built washing table; then converts the data of the flow table and the data of the parameter table into a file that can be compiled by MCU by calling a tool; and then compiles the file that can be compiled by MCU to generate the final washing process. That is to say, in the technical solution of the present application, the washing process can be automatically generated by extracting the data of the flow table and the data of the parameter table from the washing table. In the prior art, the parameters involved in the flow table are usually manually converted into software code, which is inefficient, has a huge workload, poor code readability, does not utilize maintenance, and has great difficulty in subsequent expansion development. Therefore, compared with the prior art, the washing process generation method proposed in the embodiment of the present application can automatically generate a washing process, greatly shortening the project development cycle; and the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider range of applications.

[0049] Figure 4 This is a schematic diagram of the structure of a washing process generation device provided in one embodiment of the present application. Figure 4 As shown, the washing process generation device includes: an extraction module 401, a conversion module 402 and a generation module 403; wherein,

[0050] The extraction module 401 is used to extract the data of the process table and the data of the parameter table from the pre-built washing table;

[0051] The conversion module 402 is used to convert the data of the flow table and the data of the parameter table into a file that can be compiled by the MCU by calling a tool;

[0052] The generating module 403 is used to compile the file that can be compiled by the MCU to generate a final washing process.

[0053] The above-mentioned washing process generation device can execute the method provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the washing process generation method provided by any embodiment of the present application.

[0054] Figure 5 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. Figure 5 A block diagram of an exemplary electronic device suitable for implementing the embodiments of the present application is shown. Figure 5 The electronic device 12 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0055] like Figure 5As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0056] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0057] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0058] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.

[0059] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0060] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0061] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the washing process generation method provided in the embodiment of the present application.

[0062] The embodiment of the present application also provides a computer storage medium.

[0063] The computer-readable storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0064] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0065] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0066] Computer program code for performing the operation of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0067] The embodiment of the present application also provides a computer program product.

[0068] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer program products, which can include one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor, which can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0069] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A washing process generation method, characterized in that: The method comprises: Extract the data of the process table and parameter table from the pre-built washing table; The data of the flow table and the data of the parameter table are converted into a file that can be compiled by the MCU by calling a tool; The MCU-compilable file is compiled to generate a final washing process.

2. The method according to claim 1, characterized in that The files compilable by the MCU include: a first compilable file and a second compilable file; wherein the first compilable file is used to store the washing process and key data involved in the process table and the parameter table; the second compilable file is used to store the definition of the first type and the first data size corresponding to the washing process and the definition of the second type and the second data size corresponding to the key data.

3. The method according to claim 2, characterized in that The washing table is: WashTable; the first compilable file is: Watcotab.c file; the second compilable file is: WatcoDef.h file.

4. The method according to claim 1, characterized in that: Extract the data of the process table and parameter table from the pre-built washing table, including: Convert the washing table into a first intermediate file, a second intermediate file and a third intermediate file; wherein the washing table is in Excel format; the first intermediate file, the second intermediate file and the third intermediate file are all in TXT format; the first intermediate file is: AKO.txt; the second intermediate file is: CUSTOMER.txt; the third intermediate file is: PROGRAM.txt; Based on the first intermediate file, the second intermediate file, and the third intermediate file, data of the process table and data of the parameter table are extracted.

5. The method according to claim 4, characterized in that Extracting data of the process table and data of the parameter table based on the first intermediate file, the second intermediate file, and the third intermediate file includes: The first intermediate file, the second intermediate file and the third intermediate file are converted into a first temporary file and a second temporary file by the calling tool; wherein the first temporary file is: a WP file; and the second temporary file is: a WD file; The first temporary file and the second temporary file are translated into a load disconnection file, and the data of the process table and the data of the parameter table are parsed from the load disconnection file.

6. A washing process generating device, characterized in that: The device comprises: an extraction module, a conversion module and a generation module; wherein, The extraction module is used to extract the data of the process table and the data of the parameter table from the pre-built washing table; The conversion module is used to convert the data of the flow table and the data of the parameter table into a file that can be compiled by the MCU by calling a tool; The generating module is used to compile the file that can be compiled by the MCU to generate a final washing process.

7. The device according to claim 6, characterized in that The files compilable by the MCU include: a first compilable file and a second compilable file; wherein the first compilable file is used to store the washing process and key data involved in the process table and the parameter table; the second compilable file is used to store the definition of the first type and the first data size corresponding to the washing process and the definition of the second type and the second data size corresponding to the key data.

8. The device according to claim 7, characterized in that The washing table is: WashTable; the first compilable file is: Watcotab.c file; the second compilable file is: WatcoDef.h file.

9. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the washing process generating method as described in any one of claims 1 to 7.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the washing process generation method according to any one of claims 1 to 7 is implemented.