A clothes drying machine voice recognition test method and system

By obtaining the function list of the clothes dryer and filtering the voice test script, the incompatibility problem of voice testing caused by the function differences of different models of clothes dryers was solved, and accurate voice recognition testing was achieved.

CN119479616BActive Publication Date: 2026-06-23GUANGDONG HOTATA TECH GRP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG HOTATA TECH GRP
Filing Date
2024-11-21
Publication Date
2026-06-23

Smart Images

  • Figure CN119479616B_ABST
    Figure CN119479616B_ABST
Patent Text Reader

Abstract

The application provides a clothes drying machine voice recognition test method and system, comprising: when a clothes drying machine voice recognition test instruction is received, obtaining a voice test script corresponding to the clothes drying machine voice recognition test instruction and a voice response script corresponding to the voice test script; accessing an interface of a to-be-tested clothes drying machine and obtaining a function list stored in advance by the to-be-tested clothes drying machine, wherein the function list comprises a plurality of function instructions of the clothes drying machine; comparing the voice test instruction with the function instruction, constructing a voice test instruction set according to a comparison result, playing a voice test instruction in the voice test instruction set, and obtaining a response test instruction corresponding to the to-be-tested clothes drying machine; comparing the response test instruction with the voice response instruction, and generating a clothes drying machine voice test result. The application can effectively solve the problem that voice test scripts are not compatible due to function differences of different models of clothes drying machines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of speech recognition, and in particular to a speech recognition testing method and system for clothes drying racks. Background Technology

[0002] With the continuous development of smart home systems, people's demands for the intelligence of home appliances are also increasing. Among them, clothes drying racks, as commonly used textile care equipment in the home, directly affect the user experience due to their level of intelligence. Voice recognition technology, which converts human speech signals into text, is an important component of artificial intelligence technology. Applying voice recognition technology to drying equipment is already a trend reflecting intelligence.

[0003] During the testing of voice recognition technology for clothes drying racks, since different models of clothes drying racks have different functions, some voice test scripts may contain function commands that the clothes drying rack does not have. When such voice test scripts are used for testing, they not only fail to verify the voice recognition effect of the actual functions of the clothes drying rack, but may also cause test errors and mislead testers in their judgment of the voice test effect of the clothes drying rack. Summary of the Invention

[0004] This application addresses the problems in the prior art by obtaining the function list of the clothes dryer and filtering the voice test scripts, providing a voice recognition testing method for clothes dryers that can improve the compatibility of voice test scripts with clothes dryer testing.

[0005] A method for testing voice recognition on a clothes drying rack includes the following steps:

[0006] Obtain a pre-stored voice test script and a corresponding voice response script. The voice test script includes several voice test instructions for the clothes dryer to perform specific functions, and the voice response script includes several voice response instructions for the clothes dryer to generate corresponding voice response instructions after receiving the voice test instructions.

[0007] Connect to the interface of the clothes drying rack to be tested and obtain the pre-stored function list of the clothes drying rack to be tested, wherein the function list includes several function instructions of the clothes drying rack;

[0008] The voice test command is compared with the function command, and a voice test command set is constructed based on the comparison result, wherein the voice test command set includes several of the voice test commands;

[0009] Play the voice test commands from the set of voice test commands, and obtain the response test commands from the clothes drying machine under test when it receives the output of the voice test script;

[0010] The response test command is compared with the voice response command to generate the voice test result of the clothes drying machine.

[0011] This application also provides a voice recognition testing system for clothes drying racks, including:

[0012] Voice test script acquisition module: used to acquire a pre-stored voice test script and a voice response script corresponding to the voice test script, wherein the voice test script includes several voice test instructions for making the clothes dryer perform specific functions, and the voice response script includes several voice response instructions for making the clothes dryer generate corresponding voice response instructions after receiving the voice test instructions;

[0013] Function list acquisition module: used to access the interface of the clothes drying rack under test and acquire the function list pre-stored by the clothes drying rack under test, wherein the function list includes several function instructions of the clothes drying rack;

[0014] Voice test instruction set construction module: used to compare the voice test instructions with the function instructions, and construct a voice test instruction set based on the comparison results, wherein the voice test instruction set includes several of the voice test instructions;

[0015] Voice test module: used to play the voice test instructions in the set of voice test instructions and obtain the response test instructions of the clothes drying machine under test when it receives the voice test script;

[0016] Voice test result output module: used to compare the response test command with the voice response command to generate the voice test result of the clothes drying machine.

[0017] Compared to existing technologies, this solution receives a voice recognition test command for a clothes drying rack, obtains the corresponding voice test script, and before conducting a voice recognition test on the clothes drying rack to be tested according to the voice test script, obtains the functional commands of the clothes drying rack to be tested and compares them with the voice test script, thereby filtering out voice test scripts that contain the functional commands of the clothes drying rack to be tested, which can effectively improve the compatibility of the voice test script with the clothes drying rack test.

[0018] To provide a clearer understanding of this application, the specific embodiments of this application will be described below in conjunction with the accompanying drawings. Attached Figure Description

[0019] Figure 1 This is a flowchart of a voice recognition testing method for a clothes drying rack according to this application;

[0020] Figure 2 This is a flowchart of a method for distinguishing between general function voice test commands and special function voice test commands in a voice recognition test method for a clothes drying rack according to this application;

[0021] Figure 3 This is a flowchart of the method for constructing a set of voice test instructions in a voice recognition test method for a clothes drying rack according to this application;

[0022] Figure 4 This is a flowchart of a method for generating special function voice test commands in a voice recognition test method for a clothes drying rack according to this application;

[0023] Figure 5 This is a flowchart of a method for generating voice test results for a clothes drying rack in a voice recognition test method of this application;

[0024] Figure 6 This is a schematic diagram of a voice recognition testing system for a clothes drying rack according to this application. Detailed Implementation

[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0026] It should be understood that the illustrative drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed in order or performed simultaneously. Furthermore, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0028] Example 1

[0029] Please see Figure 1 , Figure 1 This is a flowchart illustrating a voice recognition testing method for a clothes drying rack, as described in this application. This application provides a voice recognition testing method for a clothes drying rack, specifically including the following steps:

[0030] S1: Obtain a pre-stored voice test script and a voice response script corresponding to the voice test script. The voice test script includes several voice test instructions for the clothes dryer to perform specific functions, and the voice response script includes several voice response instructions for the clothes dryer to generate corresponding voice response instructions after receiving the voice test instructions.

[0031] S2: Connect to the interface of the clothes drying rack to be tested and obtain the pre-stored function list of the clothes drying rack to be tested, wherein the function list includes several function instructions of the clothes drying rack;

[0032] S3: Compare the voice test command with the function command, and construct a voice test command set based on the comparison result, wherein the voice test command set includes several of the voice test commands;

[0033] S4: Play the voice test command in the set of voice test commands, and obtain the response test command of the clothes drying machine under test to receive the output of the voice test script;

[0034] S5: Compare the response test command with the voice response command to generate the clothes drying machine voice test result.

[0035] In this embodiment, the voice recognition testing method for clothes drying racks is preferentially applied to a voice testing system for clothes drying racks. This system can be applied to a server or a terminal. To ensure testing accuracy, the server is an application server with strong computing power; the terminal can be a user equipment (UE) with strong computing power, a handheld device with wireless communication capabilities, an in-vehicle device, a wearable device, a computing device, or other processing devices connected to a wireless modem, a mobile station (MS), etc., with a computer terminal being preferred.

[0036] The clothes drying rack voice testing system includes a clothes drying rack voice testing database server, a clothes drying rack data acquisition server, and a clothes drying rack voice testing server. The clothes drying rack voice testing database server is used to construct a clothes drying rack voice testing database, and the clothes drying rack voice testing database is used to store the voice testing scripts and the corresponding voice response scripts.

[0037] The clothes drying rack data acquisition server extracts the voice test script corresponding to the instruction information and the voice response script corresponding to the voice test script from the clothes drying rack voice test database, and sends them to the clothes drying rack voice test server.

[0038] The clothes drying rack voice test server converts the voice test script into an audio file and controls the audio device connected to the computer terminal to play the audio file, thereby simulating a user issuing voice commands to the clothes drying rack under test. The voice module of the clothes drying rack under test receives the voice test script played by the audio device and generates a corresponding response test command. The computer terminal obtains the response test command output by the clothes drying rack after receiving the voice test script by connecting to the serial port of the voice module of the clothes drying rack under test. The clothes drying rack voice test server compares the response test command with the voice response command to generate the clothes drying rack voice test result.

[0039] Compared with existing technologies, this solution receives a voice recognition test command for a clothes drying rack, obtains the corresponding voice test script, and before conducting a voice recognition test on the clothes drying rack to be tested according to the voice test script, obtains the functional commands of the clothes drying rack to be tested and compares them with the voice test script, thereby filtering out voice test scripts that contain the functional commands of the clothes drying rack to be tested. This can solve the problem of incompatibility of voice test scripts caused by functional differences between different models of clothes drying racks.

[0040] For step S1, in this embodiment, the voice test script includes a series of voice test instructions stored in string format for instructing the clothes dryer to execute specific function commands. The voice test instructions include an instruction prefix and function command text to ensure the clothes dryer recognizes the starting position of the voice test instruction. The instruction prefix is ​​typically a fixed phrase or word that informs the clothes dryer that the following voice input is a command that needs to be recognized and executed. The function command text is the function command that the clothes dryer will execute. For example, "Hello, hello, please turn on the drying function of the clothes dryer," where "Hello, hello, please turn on the drying function" is the instruction prefix, and "drying function" is the function command text.

[0041] The voice response script includes a series of voice response instructions generated by the clothes dryer upon receiving the voice test command, and these instructions are saved in string format. The same voice test script can correspond to multiple voice response instructions. Each voice response instruction includes function instruction feedback text, typically a fixed phrase or word, used to inform the user of the execution result. For example, regarding the aforementioned voice test script "Hello, please turn on the clothes dryer's drying function," if the clothes dryer's drying function is already enabled, the generated voice response script will be "The clothes dryer's drying function is already enabled"; if the clothes dryer's drying function is not enabled, the generated voice response script will be "Turning on the clothes dryer's drying function for you."

[0042] For step S2, the interface of the clothes dryer under test can be a wired communication interface for communicating with external devices such as a computer terminal, or an application programming interface (API) for interacting with external applications. In this embodiment, the clothes dryer voice testing system applied to the computer terminal further includes a data interaction server. The data interaction server invokes a specific request to obtain the function list of the clothes dryer under test through its API, and then sends the function list to the clothes dryer voice testing server.

[0043] It should be noted that the common practice for the data interaction server to obtain the function list of the clothes drying rack under test by calling the application programming interface of the clothes drying rack under test is something that those skilled in the art should understand, and will not be elaborated here.

[0044] The function list includes several basic operations of the clothes dryer, namely the function commands, such as raising and lowering the drying rod, switching the lighting system on and off, starting and stopping the timer, and adjusting the fan speed or drying intensity. During the manufacturing and shipping process of the clothes dryer, each of these function commands is stored as a string in the clothes dryer's control system or storage medium.

[0045] For step S3, in one embodiment, the voice test script includes general function voice test instructions and special function voice test instructions. The general function voice test instructions are voice test scripts used to verify whether the basic and general operations of the clothes dryer can be correctly executed by voice commands, including functions such as raising and lowering the drying rod. Since different models of clothes dryers have different function instructions, the special function voice test instructions are voice test scripts used to verify whether the special function instructions of the clothes dryer can be correctly executed by voice commands, including functions such as drying, disinfection, and sterilization.

[0046] Please see Figure 2 , Figure 2 This is a flowchart illustrating the method for distinguishing between general function voice test commands and special function voice test commands in a voice recognition testing method for a clothes drying rack according to this application. Before comparing the voice test commands with the function commands and constructing a voice test command set based on the comparison results, wherein the voice test command set includes several voice test commands, the method further includes the following steps:

[0047] S3a: Traverse all the aforementioned speech test scripts and perform word segmentation on the speech test instructions of the speech test scripts to obtain the word segmentation results;

[0048] S3b: Filter the word segmentation results according to the preset instruction prefix list, identify and remove word segmentation results that are the instruction prefixes;

[0049] S3c: Sequentially match the tokenization results after screening with the instructions in the preset general function voice instruction set. If the match is successful, classify the voice test instruction as a general function voice test instruction.

[0050] S3d: Sequentially match the tokenization results after screening with the instructions in the preset special function voice instruction set. If the match is successful, classify the voice test instruction as a special function voice test instruction.

[0051] For step S3a, in this embodiment, the tokenization rule based on a dictionary is preferably used to segment the voice test script into several individual words as the tokenization results. The dictionary can be constructed according to the relevant vocabulary of the drying machine, including functional vocabulary such as drying, rising, and disinfection, operation vocabulary such as starting, stopping, and canceling, and component vocabulary such as drying rods and disinfection lamps. Of course, machine learning algorithms such as convolutional neural networks can also be used to perform tokenization by learning the characteristics of a large number of drying machine-related vocabulary.

[0052] After performing tokenization processing on the voice test script to obtain the tokenization results, preprocessing is sequentially performed on the tokenization results to obtain the tokenization results after preprocessing. The preprocessing includes: duplicate removal processing and stop word removal, etc. The stop word removal includes words such as "de", "le", and "zai", etc., which is beneficial to improving the efficiency of subsequent comparison.

[0053] For step S3b, the instruction prefix can be extracted by traversing the existing voice test script or actual voice instruction data, or the instruction prefix can be defined by referring to the industry standards and specifications of the drying machine, so as to construct the instruction prefix list. The instruction prefix list is stored in the drying machine voice test database.

[0054] For steps S3c and S3d, the general function voice instruction set is a series of instructions for basic and general operations of the drying machine, and is stored in string format, such as starting, closing, rising, and falling, etc. Traverse the instructions in the general function voice instruction set, and match the tokenization results with the instructions in the general function voice instruction set through a matching algorithm. The fuzzy matching of the string matching algorithm is preferably used. If the match is successful, the voice test script is considered a general function voice test instruction. For example, when the tokenization result is "lift", and any instruction in the general function voice instruction set is "rise", through the fuzzy matching of the string matching algorithm, it can also be considered a successful match.

[0055] The special function voice command set consists of a series of instructions for special operations of the clothes dryer, stored in string format, such as disinfection, sterilization, and drying. The commands in the special function voice command set are traversed, and a matching algorithm is used to match the word segmentation results with the commands in the special function voice command set. Fuzzy matching using string matching algorithms is preferred; if a match is successful, the voice test script is considered a special function voice test command. For example, if the word segmentation result is "sterilization" and any command in the general function voice command set is "sterilization," a successful match can also be considered achieved using fuzzy matching with string matching algorithms.

[0056] It should be noted that, in order to ensure the accuracy and reliability of the matching results, the parameters of fuzzy matching need to be adjusted appropriately. Those skilled in the art should understand the means of adjusting the fuzzy matching parameters, which will not be elaborated here.

[0057] Please also refer to Figure 3 , Figure 3 This is a flowchart illustrating a method for constructing a set of voice test commands in a voice recognition testing method for a clothes drying rack according to this application. The method involves comparing the voice test commands with the function commands and constructing a set of voice test commands based on the comparison results. The set of voice test commands includes several of the voice test commands. The method further includes the following steps:

[0058] S31: Add the general function voice test command to the voice test command set;

[0059] S32: If the word segmentation result corresponding to the special function voice test instruction matches the function instruction, then the special function voice test instruction is added to the voice test instruction set;

[0060] S33: If the word segmentation result corresponding to the special function voice test instruction does not match the function instruction, then according to the function instruction, generate the corresponding special function voice test instruction and add it to the voice test instruction set.

[0061] For step S31, the voice test instruction set is a set of voice test scripts obtained after filtering the voice test scripts, which are used to perform voice recognition tests on the clothes drying rack to be tested.

[0062] For step S32, the word segmentation result corresponding to the special function voice test instruction is matched with the function instruction by a matching algorithm. Fuzzy matching of string matching algorithm is preferred. If the match is successful, the special function voice test instruction is added to the voice test instruction set.

[0063] It should be noted that, in order to ensure the accuracy and reliability of the matching results, the parameters of fuzzy matching need to be adjusted appropriately. Those skilled in the art should understand the means of adjusting the fuzzy matching parameters, which will not be elaborated here.

[0064] Please see Figure 4 , Figure 4 This is a flowchart of a method for generating special function voice test commands in a voice recognition testing method for a clothes drying rack according to this application. For step S33, if the word segmentation result corresponding to the special function voice test command does not match the function command, then generating a corresponding special function voice test command based on the function command and adding it to the voice test command set, the method further includes the following steps:

[0065] S331: Obtain a pre-stored voice test instruction template, the voice test instruction template including an instruction prefix placeholder and a function placeholder for ensuring that the clothes dryer recognizes the starting position of the special function voice test instruction;

[0066] S332: Replace the function placeholder with the function instruction, and replace the instruction prefix placeholder with the instruction prefix in the instruction prefix list to generate a special function voice test instruction corresponding to the function instruction.

[0067] For steps S331 and S332, the voice test instruction template is stored in the clothes dryer voice test database. The voice test instruction template includes an instruction prefix placeholder and a function placeholder to ensure the clothes dryer recognizes the start position of the voice test script. The instruction prefix is ​​used to subsequently insert specific instruction prefixes. The function placeholder is used to subsequently insert specific function instructions.

[0068] The clothes drying rack data acquisition server retrieves the voice test instruction template and the instruction prefix list from the clothes drying rack voice test database and sends them to the clothes drying rack voice test server. The clothes drying rack voice test server replaces the function placeholder with the function instruction and replaces the instruction prefix placeholder with the instruction prefix from the instruction prefix list, generating a special function voice test instruction corresponding to the function instruction.

[0069] In step S4, the clothes drying rack voice test server converts each voice test script in the voice test instruction set into an audio file, and then controls the audio device connected to the computer terminal to play the audio file, thereby simulating a user issuing voice commands to the clothes drying rack under test. The voice module of the clothes drying rack under test receives the voice test script played by the audio device and generates a corresponding response test command. The computer terminal obtains the response test command output by the clothes drying rack under test after receiving the voice test script by accessing the serial port of the voice module of the clothes drying rack under test.

[0070] Please see Figure 5 , Figure 5 This is a flowchart of a method for generating voice test results for a clothes drying rack, as described in this application. For step S5, comparing the response test command with the voice response command to generate the clothes drying rack voice test results, the method further includes the following steps:

[0071] S51: Count the number of successful comparisons between the response test command and the corresponding voice response script of the voice test script, and calculate the success rate of the clothes drying machine voice recognition test;

[0072] S52: Count the number of failed comparisons between the response test command and the corresponding voice response script of the voice test script, and calculate the failure rate of the clothes drying machine voice recognition test;

[0073] S53: The voice test scripts that fail to match the response test instruction with the corresponding voice response script of the voice test script are included in the set of failed voice recognition.

[0074] S54: The success rate of the clothes drying rack voice recognition test, the failure rate of the clothes drying rack voice recognition test, and the set of voices that failed to be recognized are taken as the results of the clothes drying rack voice recognition test.

[0075] Regarding step S54, in this embodiment, the clothes drying rack voice test server can output the clothes drying rack voice test results by printing logs, or the clothes drying rack voice test results can be output in document form.

[0076] Example 2

[0077] Please see Figure 6 , Figure 6 This is a schematic diagram of a voice recognition testing system for a clothes drying rack according to this application. This application also provides a voice recognition testing system for a clothes drying rack, comprising:

[0078] Voice test script acquisition module 1: used to acquire a pre-stored voice test script and a voice response script corresponding to the voice test script, wherein the voice test script includes several voice test instructions for making the clothes dryer perform specific functions, and the voice response script includes several voice response instructions for making the clothes dryer generate corresponding voice response instructions after receiving the voice test instructions.

[0079] Function list acquisition module 2: used to access the interface of the clothes drying rack to be tested and acquire the function list pre-stored by the clothes drying rack to be tested, wherein the function list includes several function instructions of the clothes drying rack;

[0080] Voice test instruction set construction module 3: used to compare the voice test instructions with the function instructions, and construct a voice test instruction set based on the comparison results, wherein the voice test instruction set includes several of the voice test instructions;

[0081] Voice test module 4: used to play the voice test instructions in the set of voice test instructions and obtain the response test instructions of the clothes drying machine under test when it receives the voice test script output;

[0082] Voice test result output module 5: used to compare the response test command with the voice response command to generate the voice test result of the clothes drying machine.

[0083] It should be noted that the data obtained by the clothes drying rack voice recognition test system provided in this application when implementing a clothes drying rack voice recognition test method is stored in the system's memory in a one-to-one correspondence. When relevant calculations are required, the data required for the calculation can be directly obtained from the memory.

[0084] It should also be noted that the clothes drying rack voice recognition testing system provided in the above embodiments is only an example of the division of the above functional modules when implementing a clothes drying rack voice recognition testing method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the clothes drying rack voice recognition testing system provided in the above embodiments and the clothes drying rack voice recognition testing method of Embodiment 1 belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0085] Based on the same inventive concept, this application also provides an electronic device, which can be a server, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet computer, netbook, etc.). The device includes one or more processors and a memory, wherein the processor is used to execute a program to implement the aforementioned voice recognition testing method for a clothes drying rack; and the memory is used to store computer programs executable by the processor.

[0086] This application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information may be computer-executable instructions that can execute the aforementioned voice recognition testing method for a clothes drying rack. Examples of computer storage media include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0087] This application is not limited to the above-described embodiments. If any modifications or variations to this application do not depart from the spirit and scope of this application, and if such modifications and variations fall within the scope of the claims and equivalent technologies of this application, then this application also intends to include such modifications and variations.

Claims

1. A voice recognition testing method for a clothes drying rack, characterized in that, Includes the following steps: Obtain a pre-stored voice test script and a corresponding voice response script. The voice test script includes several voice test instructions for instructing the clothes dryer to perform specific functions. The voice test script includes general function voice test instructions and special function voice test instructions. The voice test instructions include an instruction prefix and function instruction text to ensure that the clothes dryer recognizes the starting position of the voice test instructions. The function instruction text is the function instruction that the clothes dryer to be tested will execute. The voice response script includes several instructions for instructing the clothes dryer to generate corresponding voice response instructions after receiving the voice test instructions. Connect to the interface of the clothes drying rack to be tested and obtain the pre-stored function list of the clothes drying rack to be tested, wherein the function list includes several function instructions of the clothes drying rack; The voice test instructions are compared with the function instructions, and a voice test instruction set is constructed based on the comparison results. The voice test instruction set includes several voice test instructions, including: traversing all the voice test scripts and performing word segmentation on the voice test instructions of the voice test scripts to obtain word segmentation results; if the word segmentation result corresponding to the special function voice test instruction does not match the function instruction, then a corresponding special function voice test instruction is generated based on the function instruction and added to the voice test instruction set, including: obtaining a pre-stored voice test instruction template, the voice test instruction template including an instruction prefix placeholder and a function placeholder for ensuring that the clothes dryer recognizes the starting position of the special function voice test instruction; replacing the function placeholder with the function instruction, and replacing the instruction prefix placeholder with the instruction prefix in the instruction prefix list to generate the special function voice test instruction corresponding to the function instruction; Play the voice test commands from the set of voice test commands, and obtain the response test commands from the clothes drying machine under test when it receives the output of the voice test script; The response test command is compared with the voice response command to generate the voice test result of the clothes drying machine.

2. The voice recognition testing method for a clothes drying rack according to claim 1, characterized in that, The voice test command is compared with the function command, and a voice test command set is constructed based on the comparison result. Before the voice test command set includes several voice test commands, the following steps are also included: The word segmentation results are filtered according to a preset list of instruction prefixes, and word segmentation results that are prefixed with the instruction prefixes are identified and removed. The segmentation results after filtering are matched sequentially with the instructions in the preset set of general function voice instructions. If the match is successful, the voice test instruction is classified as a general function voice test instruction. The segmentation results after filtering are matched sequentially with the commands in the preset set of special function voice commands. If the match is successful, the voice test command is classified as a special function voice test command.

3. The voice recognition testing method for a clothes drying rack according to claim 2, characterized in that, The step of comparing the voice test command with the function command and constructing a voice test command set based on the comparison result, wherein the voice test command set includes several voice test commands, further includes the step of adding the general function voice test command to the voice test command set.

4. The voice recognition testing method for a clothes drying rack according to claim 2, characterized in that, The step of comparing the voice test command with the function command and constructing a voice test command set based on the comparison result, wherein the voice test command set includes a plurality of the voice test commands, further includes the following steps: If the word segmentation result corresponding to the special function voice test instruction matches the function instruction, then the special function voice test instruction is added to the voice test instruction set.

5. The voice recognition testing method for a clothes drying rack according to claim 1, characterized in that, The step of comparing the response test command with the voice response command to generate the clothes drying rack voice test result further includes the following steps: The number of successful matches between the response test command and the corresponding voice response script of the voice test script is counted, and the success rate of the clothes drying rack voice recognition test is calculated. The number of failed comparisons between the response test command and the corresponding voice response script is counted, and the failure rate of the clothes drying rack voice recognition test is calculated. The voice test scripts that fail to match the response test command with the corresponding voice response script are included in the set of failed voice recognition. The success rate of the clothes drying rack voice recognition test, the failure rate of the clothes drying rack voice recognition test, and the set of voices that failed to be recognized are taken as the results of the clothes drying rack voice recognition test.

6. The voice recognition testing method for a clothes drying rack according to claim 1, characterized in that, After performing word segmentation on the speech test script to obtain the word segmentation result, the process further includes the following steps: The word segmentation results are preprocessed sequentially to obtain preprocessed word segmentation results, wherein the preprocessing includes at least deduplication.

7. A voice recognition testing system for a clothes drying rack, characterized in that, include: Voice test script acquisition module: used to acquire pre-stored voice test scripts and corresponding voice response scripts. The voice test script includes several voice test instructions for instructing the clothes dryer to perform specific functions. The voice test script includes general function voice test instructions and special function voice test instructions. The voice test instructions include an instruction prefix and function instruction text to ensure that the clothes dryer recognizes the starting position of the voice test instructions. The function instruction text is the function instruction that the clothes dryer to be tested will execute. The voice response script includes several instructions for instructing the clothes dryer to generate corresponding voice response instructions after receiving the voice test instructions. Function list acquisition module: used to access the interface of the clothes drying rack under test and acquire the function list pre-stored by the clothes drying rack under test, wherein the function list includes several function instructions of the clothes drying rack; A voice test instruction set construction module is used to compare the voice test instructions with the function instructions, and construct a voice test instruction set based on the comparison results. The voice test instruction set includes several voice test instructions, including: traversing all the voice test scripts and performing word segmentation on the voice test instructions in the voice test scripts to obtain word segmentation results; if the word segmentation result corresponding to the special function voice test instruction does not match the function instruction, then generating a corresponding special function voice test instruction based on the function instruction and adding it to the voice test instruction set, including: obtaining a pre-stored voice test instruction template, the voice test instruction template including an instruction prefix placeholder and a function placeholder used to ensure the clothes dryer recognizes the starting position of the special function voice test instruction; replacing the function placeholder with the function instruction, and replacing the instruction prefix placeholder with the instruction prefix in the instruction prefix list to generate the special function voice test instruction corresponding to the function instruction; Voice test module: used to play the voice test instructions in the set of voice test instructions and obtain the response test instructions of the clothes drying machine under test when it receives the voice test script; Voice test result output module: used to compare the response test command with the voice response command to generate the voice test result of the clothes drying machine.

8. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements a voice recognition testing method for a clothes drying rack as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are used in the voice recognition testing method for a clothes drying rack as described in any one of claims 1 to 6.