A method and system for automatic testing of voice module
Automatically control the speaker to broadcast requested audio and recognize audio through the voice module, which solves the problem of low testing efficiency of voice modules in the prior art, realizes automated testing, improves efficiency and reduces the investment in manpower and equipment.
Patent Information
- Application Number
- CN202210698795.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-06-20
AI Technical Summary
In the prior art, the test efficiency of voice modules is low, and manual or external audio equipment is required for testing, resulting in worker fatigue and equipment damage.
The speaker is controlled by the voice module to broadcast the requested audio, and the audio is recognized through the microphone, and control commands are issued to the electronic control module to realize automatic testing.
It reduces the cost of manpower and equipment investment, improves the efficiency of voice module testing, and avoids the physical impact of long-term testing on workers.
Smart Images

Figure CN114974308B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioner detection, and in particular to a voice module automatic testing method and system. Background Art
[0002] With the development of science and technology and the improvement of people's living standards, air conditioners have become an indispensable household appliance in people's lives. As the technology in the field of household appliances becomes more mature and the competition becomes more fierce, consumers have higher and higher requirements for the quality of air conditioners.
[0003] When the voice module is integrated into home appliances such as air conditioners, it is necessary to test whether the communication between the voice module and the main controller of the home appliance is successful during factory inspection, and check whether the speaker and microphone are working properly.
[0004] However, in the actual testing process, the voice function is usually awakened by manual calling or external audio equipment playing test audio to perform air conditioning control tests, which can easily cause worker fatigue and damage the throat, and the test efficiency of the voice module is low. Summary of the invention
[0005] In order to solve the problem of low voice module testing efficiency, the present invention provides a voice module automatic testing method, comprising: the voice module controls a speaker to broadcast a request audio; a microphone obtains the request audio and recognizes the request audio; when the recognition is successful, the voice module sends a control instruction to an electronic control module and broadcasts a prompt tone to feedback the electronic control execution result.
[0006] The technical effect achieved after adopting this technical solution is: the voice module controls the speaker to broadcast the request audio by itself, without the need for manual oral calls or external audio equipment for broadcasting, which can reduce the investment cost of manpower and equipment, and even long-term testing will not affect the physical condition of the workers, thereby improving the testing efficiency of the voice module.
[0007] In this embodiment, before the voice module controls the speaker to broadcast the request audio, the voice module automatic testing method also includes: the voice module responds to the self-test instruction from the test module; according to the self-test instruction, the voice module is controlled to enter the voice self-test state and broadcast the power-on prompt tone.
[0008] The technical effect achieved after adopting this technical solution is: the trigger condition for the voice module to enter the self-test state is that the test module sends a self-test instruction to the voice module. After the voice module responds to the self-test instruction from the test module, if it can control the voice module to enter the voice self-test state according to the self-test instruction and broadcast the power-on prompt tone, it means that the speaker of the device under test is normal.
[0009] In this embodiment, the request audio includes: at least one of a wake-up request, a power-on request, and a function setting request, or a combination thereof.
[0010] The technical effect achieved after adopting this technical solution: the voice module can determine whether the function control of the microphone, speaker, and electronic control module is normal by controlling the speaker to broadcast wake-up requests, power-on requests, and function setting requests.
[0011] In this embodiment, when the request audio is a wake-up request, the microphone obtains the wake-up request and recognizes the wake-up request; if the recognition is successful, the voice module enters the wake-up state and broadcasts a wake-up success prompt tone.
[0012] The technical effect achieved after adopting this technical solution: After the voice module controls the speaker to broadcast the wake-up request, the microphone will obtain the wake-up request and recognize the wake-up request. If the recognition is successful, the voice module enters the wake-up state and broadcasts the wake-up success prompt tone. Workers can judge whether the functional control between the voice module and the speaker and microphone is normal by whether the voice module broadcasts the wake-up success prompt tone. If the voice module broadcasts the wake-up success prompt tone, it means that the functional control between the voice module and the speaker and microphone is normal; if the wake-up success prompt tone is not broadcast, it means that the recognition function of the microphone may be abnormal.
[0013] In this embodiment, when the request audio is a power-on request, the voice module sends a control instruction to the electronic control module, and feeds back the electronic control execution result, including: the voice module sends a power-on instruction to the electronic control module; if the power-on execution is successful, the voice module broadcasts a power-on success prompt tone.
[0014] The technical effect achieved after adopting this technical solution is as follows: after the voice module controls the speaker to broadcast the power-on request, the microphone will obtain the power-on request and identify the power-on request; if the recognition is successful, the voice module sends the power-on command to the electronic control module, and after querying that the power-on execution is successful, the voice module broadcasts the power-on success prompt tone. Workers can judge whether the functional control between the electronic control module and the speaker and microphone is normal by whether the voice module broadcasts the power-on success prompt tone. If the voice module broadcasts the power-on success prompt tone, it means that the power-on command of the electronic control module is executed successfully and the microphone can recognize the power-on request; if the voice module does not broadcast the power-on success prompt tone, it means that the power-on command of the electronic control module is not executed successfully, and there is a problem with the microphone of the device under test that cannot recognize the power-on request, or the voice module cannot issue the power-on command, or there is a problem with the power-on program of the voice module.
[0015] In this embodiment, when the request audio is a function setting request, the voice module sends a control instruction to the electronic control module, and feeds back the electronic control execution result, including: the voice module sends a function setting instruction to the electronic control module; if the function setting is executed successfully, the voice module broadcasts a prompt tone indicating that the function setting is successful.
[0016] The technical effect achieved after adopting this technical solution is: after the voice module controls the speaker to broadcast the function setting request, the microphone will obtain the function setting request and identify the function setting request; if the recognition is successful, the voice module sends the function setting instruction to the electronic control module, and after querying that the function setting is successfully executed, the voice module broadcasts the prompt tone of successful function setting. Workers can judge whether the function control between the electronic control module and the speaker and microphone is normal by whether the voice module broadcasts the prompt tone of successful function setting. If the voice module broadcasts the prompt tone of successful function setting, it means that the function control between the electronic control module and the speaker and microphone is normal, and the device under test can perform the corresponding function control; if not, it means that the device under test cannot perform the corresponding function control, and there is an abnormality in the function setting program of the device under test.
[0017] In this embodiment, the automatic testing method of the voice module also includes: if the voice module does not broadcast a control success prompt tone after the speaker broadcasts the request audio for more than a preset time, the voice module controls the speaker to broadcast the request audio for a second time; if the voice module does not broadcast a control success prompt tone after the speaker broadcasts the request audio for a second time for more than the preset time, a test failure prompt tone is broadcast.
[0018] The technical effect achieved after adopting this technical solution is as follows: when the speaker broadcasts the request audio for more than a preset time and the voice module does not broadcast the control success prompt sound, it does not directly determine that the broadcast test has failed. Instead, the voice module controls the speaker to broadcast the request audio a second time for re-inspection, and performs the voice test again, which can improve the accuracy of the voice test.
[0019] In this embodiment, the voice module automatic testing method also includes: after the wake-up request, the power-on request, and the function setting request are all executed successfully, the voice module broadcasts a test pass prompt tone and controls the air conditioner to be set to the first temperature for display.
[0020] The technical effect achieved by adopting this technical solution is: if the wake-up request, power-on request, and function setting request are all executed successfully, it means that the voice module test has passed, so the test pass prompt tone is broadcast, and the air conditioner is controlled to be set to the first temperature for display. Workers can judge whether the voice function is normal by listening to the broadcast tone and checking the display temperature of the display panel.
[0021] In this embodiment, the volume of the request audio and the prompt tone is smaller than the volume of the power-on prompt tone.
[0022] The technical effect achieved after adopting this technical solution is: by setting the volume of the request audio and the prompt tone to be smaller than the volume of the power-on prompt tone, mutual interference between multiple devices under test during the voice test can be reduced.
[0023] In this embodiment, before the voice module responds to the self-test instruction from the test module, the voice module automatic testing method also includes: the test remote control receives the temperature adjustment instruction; the test remote control generates a production test infrared code according to the temperature adjustment instruction, and sends the test infrared code to the test module; the test module generates a self-test instruction according to the test infrared code, and sends the self-test instruction to the voice module.
[0024] The technical effect achieved after adopting this technical solution is as follows: the worker uses the test remote control to issue a temperature adjustment instruction by adjusting the temperature of the test remote control; the test remote control receives the temperature adjustment instruction, generates a corresponding test infrared code according to the temperature adjustment instruction, and sends the test infrared code to the display module of the test module. Since the display module is electrically connected to the connecting terminal of the test module, the test module can generate a self-test instruction according to the test infrared code, and send the self-test instruction to the voice module of the device to be tested, so as to trigger the voice module of the device to be tested to enter the self-test state.
[0025] An embodiment of the present invention provides a voice module automatic testing system, comprising: a test remote controller; a test module, comprising an air conditioner main control and a display module connection terminal; a device to be tested, comprising a display module provided with a voice module, a microphone, and a speaker; a power supply, used to supply power to the test module and the device to be tested; wherein the display module connection terminal is electrically connected to the display module provided with the voice module; and the test remote controller is used to trigger the voice module of the device to be tested to enter a voice self-test mode.
[0026] An embodiment of the present invention provides a voice module automatic testing system, wherein the voice module automatic testing system executes the voice module automatic testing method as described in any of the previous embodiments.
[0027] An embodiment of the present invention provides a voice module automatic testing system, which includes: a computer-readable storage medium storing a computer program and a packaged IC. When the computer program is read and executed by the packaged IC, the voice module automatic testing system implements the voice module automatic testing method described in any of the previous embodiments.
[0028] In summary, the above embodiments of the present application may have one or more of the following advantages or beneficial effects:
[0029] (1) The voice module controls the speaker to broadcast the request audio, without the need for manual voice calls or external audio equipment. This can reduce the investment cost of manpower and equipment, and even long-term testing will not affect the physical condition of workers, thereby improving the testing efficiency of the voice module.
[0030] (2) The worker can judge whether the functional control between the voice module and the speaker and microphone is normal by whether the voice module broadcasts the wake-up success prompt tone. If the voice module broadcasts the wake-up success prompt tone, it means whether the functional control between the voice module and the speaker and microphone is normal.
[0031] (3) If the wake-up request, power-on request, and function setting request are all executed successfully, it means that the voice module test has passed, so the test pass prompt tone is broadcast, and the air conditioner is controlled to be set to the first temperature for display. The worker can judge whether the voice function is normal by listening to the broadcast tone and checking the displayed temperature on the display panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0033] Figure 1 This is a module diagram of the automatic testing system for the speech module.
[0034] Figure 2 The figure is a flowchart of the automatic testing method for the speech module. DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] [First embodiment]
[0037] See also Figure 2 , which is a flow chart of the automatic voice module testing method. The automatic voice module testing method includes the following steps: the voice module controls the speaker to broadcast the request audio; the microphone obtains the request audio and recognizes the request audio; if the recognition is successful, the voice module sends a control instruction to the electronic control module and broadcasts a prompt tone to feedback the electronic control execution result.
[0038] The voice module controls the speaker to broadcast the request audio, without the need for manual voice calls or external audio equipment. This can reduce the investment cost of manpower and equipment, and even long-term testing will not affect the physical condition of workers, thereby improving the testing efficiency of the voice module.
[0039] Furthermore, before the voice module controls the speaker to broadcast the request audio, the voice module automatic testing method also includes: the voice module responds to the self-test instruction from the test module; according to the self-test instruction, the voice module is controlled to enter the voice self-test state and broadcast the power-on prompt tone.
[0040] Furthermore, before the voice module responds to the self-test instruction from the test module, the voice module automatic testing method also includes: the test remote control receives the temperature adjustment instruction; the test remote control generates a test infrared code according to the temperature adjustment instruction, and sends the test infrared code to the display module of the device to be tested; the test module generates a self-test instruction according to the test infrared code, and sends the self-test instruction to the voice module.
[0041] In a specific embodiment, a worker uses a test remote control to issue a temperature adjustment command by adjusting the temperature of the test remote control; the test remote control receives the temperature adjustment command, generates a corresponding test infrared code according to the temperature adjustment command, and sends the test infrared code to the display module of the device under test. Since the display module is electrically connected to the connecting terminal of the test module, the test module can generate a self-test command according to the test infrared code, and send the self-test command to the voice module of the device under test, so as to trigger the voice module of the device under test to enter the self-test state.
[0042] Compared with the ordinary remote control with an adjustment range of 16-32 degrees, the test remote control is a special production test remote control with a temperature adjustment range of 9-38 degrees. By using a special production test remote control, the device under test will only enter the test mode when the temperature is specially adjusted, which can prevent users from entering the test mode by mistake.
[0043] For example, during the test process, the worker first manually connects the display module of the device under test with the connection terminal of the test module, and then turns on the power; after adjusting the temperature of the test remote control to a special number such as 10 degrees, the worker sends the corresponding test infrared code to the display module of the device under test; after receiving the test infrared code sent by the test remote control, the air-conditioning main control of the test module generates a self-test command and sends it to the voice module; the voice module responds to the self-test command to enter the self-test state and broadcasts the power-on prompt sound.
[0044] Preferably, a time interval can be set so that the test remote controller automatically sends a test infrared code at a preset time interval to further reduce manual operation.
[0045] For example, the power-on prompt tone is "Welcome to AUX smart air conditioner"; the volume of the power-on prompt tone is 5 levels; among them, the voice volume has a total of 5 levels, and the default maximum volume is 5 levels.
[0046] In a specific embodiment, if the voice module receives self-test instructions from the air conditioner master control multiple times after entering the self-test mode, it will not process them temporarily. Only after the current self-test is completed can the self-test instructions be processed again.
[0047] It should be noted that the air conditioner supports shielding the voice function. If the air conditioner enters the self-test mode, the voice function is turned on by default. If the air conditioner is in the voice function shielding state when entering the self-test mode, the voice shielding state is canceled. In addition, the self-test state is not remembered when the power is off, that is, if the power is off and then on in the self-test state, the voice module will not enter the self-test state by itself.
[0048] In a specific embodiment, if the voice module responds to the self-test instruction from the test module, can control the voice module to enter the voice self-test state according to the self-test instruction, and broadcast the power-on prompt tone, it means that the speaker of the device under test is normal.
[0049] Further, when the voice module enters the self-check state, the voice module performs a voice self-check operation. Specifically, the request audio includes: at least one of a wake-up request, a power-on request, and a function setting request or a combination thereof. The voice module can determine whether the function control of the microphone, the speaker, and the electronic control module is normal by controlling the speaker to broadcast the wake-up request, the power-on request, and the function setting request.
[0050] Furthermore, when the requested audio is a wake-up request, the microphone obtains the wake-up request and identifies the wake-up request; if the identification is successful, the voice module enters the wake-up state and broadcasts a wake-up success prompt tone.
[0051] In a specific embodiment, after the voice module controls the speaker to broadcast the wake-up request, the microphone will obtain the wake-up request and recognize the wake-up request. If the recognition is successful, the voice module enters the wake-up state and broadcasts the wake-up success prompt tone. The worker can judge whether the function control between the voice module and the speaker and microphone is normal by whether the voice module broadcasts the wake-up success prompt tone. If the voice module broadcasts the wake-up success prompt tone, it means that the function control between the voice module and the speaker and microphone is normal; if the wake-up success prompt tone is not broadcast, it means that the recognition function of the microphone may be abnormal.
[0052] Furthermore, when the request audio is a power-on request, the voice module sends a control instruction to the electronic control module, and feeds back the electronic control execution result, including: the voice module sends a power-on instruction to the electronic control module; if the power-on execution is successful, the voice module broadcasts a power-on success prompt tone.
[0053] In a specific embodiment, after the voice module controls the speaker to broadcast the power-on request, the microphone will obtain the power-on request and identify the power-on request; if the identification is successful, the voice module sends a power-on instruction to the electronic control module, and after querying that the power-on execution is successful, the voice module broadcasts a successful power-on prompt tone. Workers can judge whether the functional control between the electronic control module and the speaker and microphone is normal by whether the voice module broadcasts a successful power-on prompt tone. If the voice module broadcasts a successful power-on prompt tone, it means that the power-on instruction of the electronic control module is successfully executed and the microphone can recognize the power-on request; if the voice module does not broadcast a successful power-on prompt tone, it means that the power-on instruction of the electronic control module is not successfully executed, and there is a problem with the microphone of the device under test that cannot recognize the power-on request, or the voice module cannot issue a power-on instruction, or there is a problem with the power-on program of the voice module.
[0054] Furthermore, when the request audio is a function setting request, the voice module sends a control instruction to the electronic control module, and feeds back the electronic control execution result, including: the voice module sends a function setting instruction to the electronic control module; if the function setting is executed successfully, the voice module broadcasts a prompt tone indicating that the function setting is successful.
[0055] In a specific embodiment, after the voice module controls the speaker to broadcast the function setting request, the microphone will obtain the function setting request and identify the function setting request; if the recognition is successful, the voice module sends the function setting instruction to the electronic control module, and after querying that the function setting is successfully executed, the voice module broadcasts the prompt tone of successful function setting. Workers can judge whether the function control between the electronic control module and the speaker and microphone is normal by whether the voice module broadcasts the prompt tone of successful function setting. If the voice module broadcasts the prompt tone of successful function setting, it means that the function control between the electronic control module and the speaker and microphone is normal, and the device under test can perform the corresponding function control; if not, it means that the device under test cannot perform the corresponding function control, and there is an abnormality in the function setting program of the device under test.
[0056] For example, when the voice module enters the self-check state, the voice module performs the voice self-check operation specifically including the following steps:
[0057] First, the voice module controls the speaker to broadcast the wake-up request "Hello, Xiao Ao", and the microphone obtains and recognizes the wake-up request. When the wake-up request is recognized successfully, that is, the voice module determines that it is a wake-up request through the microphone data, the voice module enters the wake-up state and broadcasts the wake-up success prompt tone "Received".
[0058] After successful wake-up, the voice module controls the speaker to broadcast the power-on request "power on", the microphone obtains the power-on request and recognizes it. When the power-on request is recognized successfully, that is, the voice module determines that it is a power-on request through the microphone data, the voice module sends a power-on command to the electronic control module. After querying that the power-on execution is successful, the voice module broadcasts the power-on success prompt tone "received".
[0059] After the voice module broadcasts the prompt tone of successful power-on, the voice module controls the speaker to broadcast a function setting request, such as "heating mode", "cooling mode", etc. The microphone obtains the function setting request and recognizes the function setting request. When the function setting request is recognized successfully, that is, the voice module determines that it is a function setting request through the microphone data, the voice module sends a function setting instruction to the electronic control module. After querying that the function setting is successfully executed, the voice module broadcasts the prompt tone of successful function setting "Received".
[0060] Furthermore, if the speaker broadcasts the request audio for more than the preset time, and the voice module does not broadcast the control success prompt tone, the voice module controls the speaker to broadcast the request audio for the second time; if the speaker broadcasts the request audio for the second time for more than the preset time, and the voice module does not broadcast the control success prompt tone, the test failure prompt tone "voice test failed" is broadcast, and the display module still displays the initial 16 degrees. Among them, when a remote control 10 degree command is received, 16 degrees is displayed by default. For example, the preferred value of the preset time is 3 seconds.
[0061] If the voice module does not broadcast the control success prompt tone after the speaker broadcasts the request audio for more than a preset time, it is not directly determined that the broadcast test has failed. Instead, the voice module controls the speaker to broadcast the request audio a second time for re-inspection, and the voice test is performed again, which can improve the accuracy of the voice test.
[0062] For example, if the speaker broadcasts the wake-up request for more than the preset time and the voice module does not broadcast the wake-up success prompt tone, the voice module controls the speaker to broadcast the wake-up request for a second time. If the speaker broadcasts the wake-up request for the second time and the voice module still does not broadcast the wake-up success prompt tone, the test failure prompt tone is broadcast.
[0063] If the speaker broadcasts the power-on request for more than the preset time and the voice module does not broadcast the power-on success prompt tone, the voice module controls the speaker to broadcast the power-on request for the second time. If the speaker broadcasts the power-on request for the second time and the voice module still does not broadcast the power-on success prompt tone, the test failure prompt tone is broadcast.
[0064] If the speaker broadcasts the function setting request for more than the preset time and the voice module does not broadcast the function setting success prompt tone, the voice module controls the speaker to broadcast the function setting request for the second time. If the speaker broadcasts the function setting request for the second time and the voice module still does not broadcast the function setting success prompt tone, the test failure prompt tone will be broadcast.
[0065] Furthermore, after the wake-up request, the power-on request, and the function setting request are all executed successfully, the voice module broadcasts a test pass prompt tone and controls the air conditioner to be set to the first temperature for display.
[0066] In a specific embodiment, if the wake-up request, power-on request, and function setting request are all executed successfully, it means that the voice module test has passed, so the test pass prompt tone is broadcasted, and the air conditioner is controlled to be set to the first temperature for display. The worker can judge whether the voice function is normal by listening to the broadcast tone and checking the display temperature of the display panel. For example, the first temperature is 32 degrees.
[0067] Furthermore, the volume of the request audio and the prompt tone is smaller than the volume of the power-on prompt tone.
[0068] In a specific embodiment, by setting the volume of the request audio and the prompt tone to be smaller than the volume of the power-on prompt tone, mutual interference between multiple devices under test during the voice test can be reduced.
[0069] For example, the request audio and prompt tone are broadcast using 3 volume levels; the power-on prompt tone, the test failure prompt tone, and the test pass prompt tone are broadcast using 5 volume levels.
[0070] [Second embodiment]
[0071] See also Figure 1 , which is a module diagram of a voice module automatic test system. The voice module automatic test system includes, for example: a test remote controller 100, a test module 200, a device under test 300, and a power supply 400. The test module 200 includes an air conditioner main control 210 and a display module connection terminal 220; the device under test 300 includes a display module 320 provided with a voice module 310, a microphone 330, and a speaker 340; the power supply 400 is used to supply power to the test module 200 and the device under test 300; the display module connection terminal 220 is electrically connected to the display module 320 provided with the voice module 310; the test remote controller 100 is used to trigger the voice module 310 of the device under test 300 to enter a voice self-test mode.
[0072] In a specific embodiment, the test remote control 100, the test module 200, the device under test 300, and the power supply 400 are all located in a relatively quiet test room. The worker first connects the display module 320 of the device under test 300 to the display module connection terminal 220 of the test module 200, and then turns on the power supply 400 to power the test module 200 and the device under test 300; the test remote control 100 sends a test infrared code to the display module 320 of the device under test 300, thereby triggering the voice module 310 to enter a self-test mode; after the voice module 310 enters the self-test mode, it performs a self-test operation and feeds back the test results to the worker in the form of voice broadcast and display on the display module 320.
[0073] [Third embodiment]
[0074] The third embodiment of the present invention provides a voice module automatic testing system, which executes the voice module automatic testing method provided by the first embodiment of the present invention and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0075] [Fourth embodiment]
[0076] The fourth embodiment of the present invention provides a voice module automatic testing system, which includes: a computer-readable storage medium storing a computer program and a packaged IC. When the computer program is read and run by the packaged IC, the voice module automatic testing system implements the voice module automatic testing method provided by the first embodiment of the present invention, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A voice module automatic testing method, applied to a voice module automatic testing system, the voice module automatic testing system comprising: Test the remote control; The test module includes a connection terminal between an air conditioner main control and a display module; the device under test includes a display module provided with a voice module, a microphone, and a speaker; a power supply is used to supply power to the test module and the device under test; wherein the display module connection terminal is electrically connected to the display module provided with a voice module; the test remote controller is used to trigger the voice module of the device under test to enter a voice self-test mode, characterized in that: include: The voice module controls the speaker to broadcast the request audio; The microphone acquires the requested audio and recognizes the requested audio; If the recognition is successful, the voice module sends the control command to the electronic control module and broadcasts a prompt tone to feedback the electronic control execution result; Before the voice module controls the speaker to broadcast the request audio, the voice module automatic testing method further includes: The voice module responds to the self-test command from the test module; Controlling the voice module to enter a voice self-test state according to the self-test instruction, and broadcasting a power-on prompt tone; The automatic voice module testing method also includes: If the speaker broadcasts the request audio for more than a preset time and the voice module does not broadcast the control success prompt tone, the voice module controls the speaker to broadcast the request audio for a second time; If the speaker broadcasts the request audio for the second time for more than the preset time, and the voice module does not broadcast the control success prompt tone, then the test failure prompt tone is broadcast; The volume of the request audio and the prompt tone is smaller than the volume of the power-on prompt tone; Before the voice module responds to the self-test instruction from the test module, the voice module automatic test method further includes: Test the remote control to receive temperature adjustment commands; The test remote controller generates a test infrared code according to the temperature adjustment instruction, and sends the test infrared code to the display module of the device to be tested; The test module generates a self-test instruction according to the test infrared code, and sends the self-test instruction to the voice module; The test remote control is a special production test remote control, and the temperature adjustment range of the test remote control is 9-38 degrees. By adjusting the test remote control to a special adjustment temperature, the device under test enters the test mode; the test remote control has a built-in preset time interval, and the test remote control automatically sends a test infrared code at every preset time interval; The request audio includes: at least one of a wake-up request, a power-on request, and a function setting request, or a combination thereof; The automatic voice module testing method also includes: After the wake-up request, the power-on request, and the function setting request are all executed successfully, the voice module broadcasts a test pass prompt tone, and controls the air conditioner to be set to the first temperature for display; Among them, if the voice module receives self-test instructions from the air conditioner master control multiple times after entering the self-test mode, it will not be processed temporarily. Only after the current self-test is completed can the self-test instructions be processed again.
2. The automatic voice module testing method according to claim 1, characterized in that: When the requested audio is a wake-up request, the microphone obtains the wake-up request and identifies the wake-up request; if the identification is successful, the voice module enters the wake-up state and broadcasts a wake-up success prompt tone.
3. The automatic voice module testing method according to claim 1, characterized in that: When the request audio is a power-on request, the voice module sends a control instruction to the electronic control module, and broadcasts a prompt tone to feedback the electronic control execution result, including: The voice module sends a power-on command to the electronic control module; If the startup is successful, the voice module will play a successful startup prompt tone.
4. The automatic voice module testing method according to claim 1, characterized in that: When the request audio is a function setting request, the voice module sends a control instruction to the electronic control module, and broadcasts a prompt tone to feedback the electronic control execution result, including: The voice module sends function setting instructions to the electronic control module; If the function setting is executed successfully, the voice module will broadcast the prompt tone of successful function setting.
5. A voice module automatic testing system, characterized in that: The voice module automatic testing system executes the voice module automatic testing method according to any one of claims 1 to 4.
6. A voice module automatic testing system, characterized in that: The voice module automatic test system includes: a computer-readable storage medium storing a computer program and a packaged IC. When the computer program is read and executed by the packaged IC, the voice module automatic test system implements the voice module automatic test method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Household appliance and self-checking method and device thereof
CN112309430A