Intelligent closestool control method and device, intelligent closestool and storage medium
By installing multiple voice recognition units in the smart toilet, dynamically selecting the optimal recognition unit for voice recognition, the problem of poor speech recognition accuracy and high power consumption in a noisy environment of smart voice intelligent toilet is solved, and the control effect of high recognition rate and low power consumption is achieved.
Patent Information
- Application Number
- CN202510816046.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-18
- Publication Date
- 2025-08-15
AI Technical Summary
The existing smart voice smart toilet has poor speech recognition accuracy and high power consumption in noisy environments.
By installing multiple voice recognition units in the target terminal and functional external devices, dynamically selecting the optimal recognition unit for voice recognition, and using the power supply method of functional external devices to control the intelligent toilet's own recognition unit to stop working, avoid noise interference and reduce power consumption.
It realizes high recognition rate and low power consumption in noisy environments, and improves the accuracy and response speed of smart toilet control.
Smart Images

Figure CN120496526A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart toilets, and in particular to a smart toilet control method, device, smart toilet, and storage medium. Background Art
[0002] Existing smart toilet solutions rely primarily on built-in microphones or voice-enabled remote controls for voice control, both of which have significant limitations. When using a built-in microphone, the mechanical and water noise sources generated by the smart toilet are located close to the built-in microphone, causing the ambient noise energy level collected by the microphone to be much higher than the human voice, resulting in a serious degradation of the signal-to-noise ratio. This significantly reduces the accuracy and reliability of voice recognition in such high-noise conditions. When using a voice-enabled remote control solution, if direct voice wake-up is used, the microphone must be operating continuously, resulting in excessive energy consumption of the remote control and a poor user experience. Summary of the Invention
[0003] The main purpose of this application is to provide a smart toilet control method, device, smart toilet and storage medium, aiming to solve the technical problem in the prior art that it is difficult to achieve both high recognition rate and low power consumption of smart toilets in a noisy environment.
[0004] To achieve the above objectives, the present application proposes a smart toilet control method, which is applied to a smart toilet equipped with a first identification unit. The method includes:
[0005] When the terminal operation information corresponding to the target terminal does not meet the function triggering condition, obtaining a power supply mode of the functional external device, the target terminal is installed with a second recognition unit, the functional external device is installed with a third recognition unit, and the first recognition unit, the second recognition unit, and the third recognition unit are all used for voice recognition;
[0006] When the power supply mode of the functional external device is the first power supply mode, controlling the first identification unit to stop operating;
[0007] When receiving the voice recognition result sent by the third recognition unit in the functional external device, a control response is performed according to the voice recognition result.
[0008] In one embodiment, after the step of obtaining the power supply mode of the functional external device, the method further includes:
[0009] When the power supply mode of the functional external device is the second power supply mode, obtaining the working environment noise collected by the first recognition unit;
[0010] When the decibel value of the working environment noise is greater than a preset decibel threshold, sending a function wake-up instruction to the functional external device, so that the functional external device activates the third recognition unit according to the function wake-up instruction;
[0011] When receiving the voice recognition result sent by the third recognition unit in the functional external device, a control response is performed according to the voice recognition result.
[0012] In one embodiment, when the power supply mode of the functional external device is the second power supply mode, after the step of obtaining the working environment noise collected by the first recognition unit, the method further includes:
[0013] When the decibel value of the working environment noise is less than or equal to a preset decibel threshold, controlling the first recognition unit to collect the user's voice;
[0014] Recognize the collected user voice by the first recognition unit to determine a voice recognition result;
[0015] A control response is performed according to the speech recognition result.
[0016] In one embodiment, the terminal operation information includes the signal strength between the terminal and the target terminal and the distance between the terminal and the target terminal;
[0017] The function triggering condition includes at least one of the following:
[0018] The signal strength between the target terminal and the target terminal is greater than or equal to a preset strength threshold;
[0019] The distance between the target terminal and the target terminal is within a preset usage range.
[0020] In one embodiment, before the step of obtaining the power supply mode of the functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, the step further includes:
[0021] Upon receiving a device binding request sent by a target terminal, performing a validity check on the device binding request;
[0022] When the legitimacy check result is a preset pass result, responding to the device binding request;
[0023] Determining terminal identification information according to the device binding request;
[0024] When the current operation state is a normal operation state, a signal scan is performed according to the terminal identification information, and the terminal operation information corresponding to the target terminal is determined according to the signal scanning result.
[0025] In one embodiment, before the step of obtaining the power supply mode of the functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, the step further includes:
[0026] Obtain functional power supply information sent by functional external devices;
[0027] The power supply mode of the functional external device is determined according to the functional power supply information, and the power supply mode of the functional external device is stored.
[0028] In one embodiment, the method further comprises:
[0029] When the terminal operation information corresponding to the target terminal meets the function triggering condition, sending a prompt message to the target terminal so that the target terminal pushes the prompt message to the display interface;
[0030] When receiving user response information sent by the target terminal within a preset time period, controlling the first recognition unit to stop running and obtaining the power supply mode of the functional external device, wherein the user response information is feedback from the user through the display interface;
[0031] When the power supply mode of the functional external device is the first power supply mode, sending a function shutdown instruction to the functional external device, so that the functional external device controls the third identification unit to stop operating according to the function shutdown instruction;
[0032] When receiving the speech recognition result sent by the second recognition unit in the target terminal, a control response is performed according to the speech recognition result.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an intelligent toilet control device, which includes:
[0034] an acquisition module, configured to acquire a power supply mode of a functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, wherein the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, and the first recognition unit, the second recognition unit, and the third recognition unit are all used for voice recognition;
[0035] A control module, configured to control the first identification unit to stop operating when the power supply mode of the functional external device is the first power supply mode;
[0036] The response module is used to perform a control response according to the voice recognition result when receiving the voice recognition result sent by the third recognition unit in the functional external device.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a smart toilet, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the smart toilet control method as described above.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the smart toilet control method described above are implemented.
[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the smart toilet control method described above.
[0040] The smart toilet control method of the present application is applied to a smart toilet, in which a first recognition unit is installed. The method includes: when the terminal operation information corresponding to the target terminal does not meet the function trigger condition, obtaining the power supply mode of the functional external device, the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, the first recognition unit, the second recognition unit and the third recognition unit are all used for voice recognition; when the power supply mode of the functional external device is the first power supply mode, controlling the first recognition unit to stop running; when receiving the voice recognition result sent by the third recognition unit in the functional external device, performing a control response according to the voice recognition result. Through the above method, when the terminal operation information corresponding to the target terminal does not meet the conditions and the power supply mode of the functional external device is the first power supply mode, voice recognition is performed through the functional external device, and the first recognition unit of the smart toilet itself is controlled to stop working. By coordinating the target terminal, the functional external device and the recognition unit corresponding to the smart toilet, the optimal recognition unit is dynamically selected for voice recognition in different situations, effectively avoiding the serious interference of the smart toilet working noise on the voice signal, and at the same time realizing the true "non-contact" voice wake-up and control process, and significantly reducing the overall system power consumption, greatly improving the accuracy and response speed of smart toilet control. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0043] Figure 1 A flowchart of the first embodiment of the intelligent toilet control method of this application is provided;
[0044] Figure 2 A flow chart of the second embodiment of the intelligent toilet control method of this application is provided;
[0045] Figure 3 A flowchart of the third embodiment of the intelligent toilet control method of this application is provided;
[0046] Figure 4 This is a schematic diagram of the module structure of the intelligent toilet control device according to an embodiment of the present application;
[0047] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the smart toilet control method in the embodiment of this application.
[0048] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] The main solution of the embodiment of the present application is: when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, the power supply mode of the functional external device is obtained, the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, the first recognition unit, the second recognition unit and the third recognition unit are all used for voice recognition; when the power supply mode of the functional external device is the first power supply mode, the first recognition unit is controlled to stop running; when the voice recognition result sent by the third recognition unit in the functional external device is received, a control response is performed according to the voice recognition result.
[0052] The voice recognition function of smart toilets currently on the market is generally achieved by building a microphone into the smart toilet or through external devices (such as remote controls with voice functions). Both have the following disadvantages: 1. When a smart toilet with a built-in microphone is performing operations such as flushing, drying, and butt washing, the built-in microphone is too close to the noise source. The noise collected at this time is usually many decibels louder than the human voice, which poses a great challenge to the voice algorithm. Therefore, the voice recognition effect is usually poor or even unrecognizable. 2. If a remote control with a voice function uses a direct voice wake-up method, the microphone needs to constantly monitor voice input, which will lead to high power consumption problems and require frequent battery replacement. If a physical button is used to wake up the voice, it violates the original design intention of adding "non-contact" voice control to the smart toilet.
[0053] The present application provides a solution. When the terminal operation information corresponding to the target terminal does not meet the conditions and the power supply mode of the functional external device is the first power supply mode, voice recognition is performed through the functional external device, and the first recognition unit of the smart toilet itself is controlled to stop working. By coordinating the target terminal, the functional external device and the recognition unit corresponding to the smart toilet, the optimal recognition unit is dynamically selected for voice recognition in different situations, effectively avoiding the serious interference of the smart toilet working noise on the voice signal, and at the same time realizing the true "non-contact" voice wake-up and control process, and significantly reducing the overall system power consumption, greatly improving the accuracy and response speed of the smart toilet control.
[0054] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program execution capabilities, such as a tablet computer, personal computer, mobile phone, etc., or a smart toilet capable of implementing the above functions. The following uses a smart toilet as an example to illustrate this embodiment and the following embodiments.
[0055] Based on this, the embodiment of the present application provides a smart toilet control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the smart toilet control method of this application.
[0056] In this embodiment, the smart toilet control method is applied to a smart toilet, in which a first identification unit is installed. The method includes steps S10 to S30:
[0057] Step S10, when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, obtain the power supply mode of the functional external device, the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, the first recognition unit, the second recognition unit and the third recognition unit are all used for voice recognition.
[0058] It should be noted that the smart toilet includes but is not limited to the smart toilet body, seat, toilet lid, first recognition unit and processor and other components; the first recognition unit includes a microphone array and a microprocessor, the microphone array is used to collect user voice, and the microprocessor is used to perform content recognition on the collected user voice. In this embodiment, in order to ensure that the user voice can be accurately collected, two microphone arrays are set, respectively located on the top of the smart toilet (for example, near the toilet tank or near the back cover of the toilet) and the side of the seat, so as to take into account the user's standing and sitting scenes. The number and installation position of the microphone array can also be adjusted according to the actual scene requirements. This embodiment does not limit this. The first recognition unit in this embodiment is the built-in voice module of the smart toilet. The power supply circuit of the first recognition unit is always energized after the smart toilet is connected to the main power supply. The first recognition unit has an independent, low-power power supply circuit connected to the main power input port, which is a normally powered module.
[0059] It is understandable that in order to ensure that in any environment, when the user issues a voice control command to the smart toilet (such as flushing, turning on the seat heating, etc.), the user's voice can be accurately recognized, in addition to installing the first recognition unit in the smart toilet, there is also a functional external device in the space where the smart toilet is located. There is a third recognition unit in the functional external device. The third recognition unit includes a microphone array and a microprocessor. The microphone array is used to collect user voice, and the microprocessor is used to perform content recognition on the collected user voice. The third recognition unit is the external voice module corresponding to the smart toilet. The third recognition unit of the functional external module and the smart toilet can communicate with each other.
[0060] In a specific implementation, the external device is always located in the same space as the smart toilet, and the distance between them is within a preset range. Therefore, the third recognition unit in the external device, while in operation, can detect the user's voice control commands directed to the smart toilet. In this embodiment, the external device can be a remote control for the smart toilet, a smart socket in the space where the smart toilet is located, or a smart switch in the space where the smart toilet is located, and this embodiment is not limited thereto.
[0061] It should be noted that when the functional external device is a remote control of a smart toilet, in order to facilitate the user to use the remote control while the third recognition unit can accurately pick up the user's voice, the installation position of the third recognition unit in the remote control needs to be close to the user's mouth and close to the side of the toilet where the user is squatting. When the functional external device is other equipment, the installation position of the third recognition unit also needs to meet the condition of being close to the user's mouth and the side of the toilet where the user is squatting. In order to accurately recognize the user's voice and identify it. The remote control can use infrared, 2.4G and other communication methods to communicate with the wireless module inside the toilet. In addition to sending control signals to the toilet, the remote control can also receive signals from the toilet.
[0062] It is understandable that the target terminal refers to a mobile terminal (such as a mobile phone, tablet computer, etc.) bound to the smart toilet. The target terminal is bound to the smart toilet through the corresponding application of the smart toilet, and is used to monitor and manage the smart toilet through the application. At the same time, there is a second recognition unit inside the target terminal, which includes a microphone array and a microprocessor. The microphone array is used to collect user voice, and the microprocessor is used to perform content recognition on the collected user voice. The target terminal and the smart toilet can communicate with each other.
[0063] In a specific implementation, the power supply mode of the functional external device refers to the power supply mode of the third identification unit. In this embodiment, the power supply mode includes but is not limited to a battery power mode and a constant power mode. The battery power mode is to power the third identification unit using a battery in the functional external device. For example, if the functional external device is a remote control for a smart toilet, its power supply mode can be battery power.
[0064] It can be understood that the normal power supply mode means that the third identification unit in the functional external device always receives electrical energy from the power supply, and the third identification unit has continuous power input and remains powered on. When the functional external device is powered by a battery, the third identification unit is in a dormant state or a low-power standby state, and only starts working when it receives a valid start-up instruction sent by the smart toilet; when the functional external device is powered by a normal power supply mode, the third identification unit is in a low-power listening state, and switches to a working state when a trigger signal (such as keyword wake-up) is detected. For example, when the functional external device is a smart switch, smart socket or other device, its power supply mode is a normal power supply mode.
[0065] In a specific implementation, the function trigger condition refers to a trigger condition for triggering the second recognition unit in the target terminal to start working. The terminal operation information corresponding to the target terminal includes but is not limited to the signal strength between the target terminal and the smart toilet, the distance between the target terminal and the smart toilet, and other related information.
[0066] In a feasible implementation, the function triggering condition includes at least one of the following: the signal strength between the smart toilet and the target terminal is greater than or equal to a preset strength threshold; the distance between the smart toilet and the target terminal is within a preset usage range.
[0067] It should be noted that when the smart toilet is in operation, it obtains the signal strength between it and the target terminal through Bluetooth scanning mobile phone broadcast or WIFI signal. In this embodiment, the signal strength is measured by the RSSI (Received Signal Strength Indicator) value; and the distance between the smart toilet and the target terminal is obtained through ultra-wideband technology, the target terminal sends its own positioning information to the smart toilet, and other methods.
[0068] It is understood that when the terminal operation information corresponding to the target terminal satisfies any one of the function trigger conditions, the terminal operation information corresponding to the target terminal is determined to satisfy the function trigger condition; conversely, if the terminal operation information corresponding to the target terminal does not satisfy all of the function trigger conditions, the terminal operation information corresponding to the target terminal is determined to not satisfy the function trigger condition. For example, when the signal strength between the target terminal and the smart toilet is greater than or equal to a preset strength threshold, the terminal operation information corresponding to the target terminal is determined to satisfy the function trigger condition. When the distance between the smart toilet and the target terminal is within a preset usage range, the terminal operation information corresponding to the target terminal is determined to satisfy the function trigger condition. When the signal strength between the target terminal and the smart toilet is less than the preset strength threshold, and the distance between the smart toilet and the target terminal is not within the preset usage range, the terminal operation information corresponding to the target terminal is determined to not satisfy the function trigger condition. In this embodiment, the preset usage range and the preset strength threshold can be customized according to usage requirements. For example, the preset usage range is (0, 20m) and the preset strength threshold is -70dBM. This embodiment is not limited to this.
[0069] In a specific implementation, in addition to the above method, when the terminal operation information corresponding to the target terminal meets all the conditions in the function trigger condition, the terminal operation information corresponding to the target terminal is determined to meet the function trigger condition; conversely, when the terminal operation information corresponding to the target terminal does not meet any of the function trigger conditions, the terminal operation information corresponding to the target terminal is determined to not meet the function trigger condition. For example, when the signal strength between the target terminal and the smart toilet is greater than or equal to a preset strength threshold, but the distance between the smart toilet and the target terminal is not within a preset usage range, the terminal operation information corresponding to the target terminal is determined to not meet the function trigger condition. When the signal strength between the target terminal and the smart toilet is less than the preset strength threshold, but the distance between the smart toilet and the target terminal is within a preset usage range, the terminal operation information corresponding to the target terminal is determined to not meet the function trigger condition. When the signal strength between the target terminal and the smart toilet is less than the preset strength threshold, and the distance between the smart toilet and the target terminal is not within the preset usage range, the terminal operation information corresponding to the target terminal is determined to not meet the function trigger condition. When the signal strength between the target terminal and the smart toilet is greater than or equal to the preset strength threshold, and the distance between the smart toilet and the target terminal is within the preset usage range, it is determined that the terminal operation information corresponding to the target terminal meets the function trigger condition.
[0070] It should be noted that in this embodiment, the example of determining that the terminal operation information corresponding to the target terminal meets the function trigger condition is when the signal strength between the target terminal and the smart toilet is greater than or equal to a preset strength threshold. When the terminal operation information corresponding to the target terminal does not meet the function trigger condition, it means that the second recognition unit in the target terminal cannot be used as the optimal voice recognition path, and the second recognition unit cannot be used to collect and recognize the user's voice. At this time, the smart toilet obtains the power supply mode of the functional external device.
[0071] In a feasible implementation manner, before step S10, steps A11 to A14 may be included:
[0072] Step A11: upon receiving the device binding request sent by the target terminal, performing a validity check on the device binding request.
[0073] It should be noted that when the target terminal has installed the application corresponding to the smart toilet, a device binding request can be sent to the smart toilet through the application to establish a pairing and binding relationship between the two. When the smart toilet receives the device binding request sent by the target terminal, it is necessary to verify whether the request comes from a trusted source and whether the content of the request is compliant, so as to obtain a legitimacy verification result. For example, check whether the device model of the target terminal is in the compatible list. If so, it means that the request comes from a trusted source; check whether the data packet structure of the request complies with the set protocol specifications and whether the information contained is complete. If the data packet structure complies with the protocol specifications and the information contained is complete, it means that the content of the request is compliant.
[0074] It can be understood that when it is determined that the binding request comes from a trusted source and the request content is compliant, the legality check result is determined to be a pass result; when the binding request does not come from a trusted source, but the request content is compliant, the legality check result is determined to be a fail result; when the binding request comes from a trusted source, but the request content is not compliant, the legality check result is determined to be a fail result; when the binding request does not come from a trusted source and the request content is not compliant, the legality check result is determined to be a fail result.
[0075] Step A12: When the legality check result is a preset pass result, respond to the device binding request.
[0076] It should be noted that when the legitimacy check result is the preset pass result, the smart toilet responds to the device binding request, establishes a two-way binding relationship with the target terminal, and sends its own security parameters to the target terminal.
[0077] Step A13: Determine terminal identification information according to the device binding request.
[0078] It should be noted that the terminal identification information is the device unique identification parameter corresponding to the target terminal, including but not limited to any one or more of the target terminal's serial number, user ID, and MAC (Media Access Control) address. Since the device binding request includes the terminal identification information of the target terminal, the device binding request is parsed to extract the terminal identification information in the device binding request.
[0079] Step A14: When the current operation state is a normal operation state, a signal scan is performed according to the terminal identification information, and the terminal operation information corresponding to the target terminal is determined according to the signal scanning result.
[0080] It should be noted that when the current operating state of the smart toilet is normal operation, it means that the smart toilet is working. At this time, the terminal identification information of the target terminal is used to search for the target terminal within the communication range of the smart toilet. The signal scan can use Bluetooth scanning mobile phone broadcast method, or WIFI signal method, etc., to obtain the signal scanning result including the signal strength between the smart toilet and the target terminal.
[0081] It can be understood that, based on the obtained signal strength between the smart toilet and the target terminal, the terminal operation information corresponding to the target terminal is constructed, which is then used to determine whether the function triggering conditions are met.
[0082] In a feasible implementation manner, before step S10, steps B11 to B12 may also be included:
[0083] Step B11: Acquire functional power supply information sent by the functional external device.
[0084] Step B12: determining the power supply mode of the functional external device according to the functional power supply information, and storing the power supply mode of the functional external device.
[0085] It should be noted that after the external device is powered on, it will send power supply information to the smart toilet. This power supply information includes the power supply method of the third identification unit of the external device. After receiving this information from the external device, the smart toilet will obtain the power supply method of the external device and store it.
[0086] Step S20 : When the power supply mode of the functional external device is the first power supply mode, controlling the first identification unit to stop operating.
[0087] It should be noted that the first power supply mode refers to the normal power supply mode. When the power supply mode of the functional external device is the first power supply mode, the smart toilet uses the third recognition unit in the functional external device as the optimal voice recognition path and uses the third recognition unit to collect and recognize the user's voice.
[0088] It is understandable that since the first recognition unit in the smart toilet is always in a low-power operating state, in order to avoid multiple recognition units working at the same time and affecting the recognition results, and at the same time to save resources, when the power supply mode of the functional external device is the first power supply mode, the smart toilet needs to control its own first recognition unit to stop running and turn off its own voice recognition function.
[0089] In a specific implementation, when the functional external device is powered by the first power mode, the third recognition unit is always in a low-power listening state, and the smart toilet does not need to send instructions to activate the third recognition unit. The third recognition unit switches to an active state upon detecting a trigger signal (e.g., a keyword wakeup). Keywords include, but are not limited to, words such as "open," "flush," and "start," and this embodiment does not impose any restrictions on this.
[0090] Step S30: upon receiving the voice recognition result sent by the third recognition unit in the functional external device, performing a control response according to the voice recognition result.
[0091] It should be noted that the microphone array in the third recognition unit continuously collects the voice of the user. When a trigger signal is detected, it switches to the working state. At this time, the microprocessor performs content recognition on the user voice collected by the microphone array. The voice recognition method can use natural language processing or other recognition technologies. This embodiment does not limit this.
[0092] It is understood that after the microprocessor in the third recognition unit performs content recognition on the user's voice collected by the microphone array, it will obtain the control content corresponding to the user's voice, and the voice recognition result will include this control content. The third recognition unit will send the voice recognition result to the smart toilet via a communication method such as Bluetooth or WiFi.
[0093] In a specific implementation, after receiving the voice recognition result sent by the third recognition unit, the smart toilet will respond to the control content therein. For example, if the control content is "open the toilet lid", the smart toilet will control the toilet lid to open.
[0094] The smart toilet control method of this embodiment is applied to a smart toilet, in which a first recognition unit is installed. The method includes: when the terminal operation information corresponding to the target terminal does not meet the function trigger condition, obtaining the power supply mode of the functional external device, the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, the first recognition unit, the second recognition unit and the third recognition unit are all used for voice recognition; when the power supply mode of the functional external device is the first power supply mode, controlling the first recognition unit to stop running; when receiving the voice recognition result sent by the third recognition unit in the functional external device, performing a control response according to the voice recognition result. Through the above method, when the terminal operation information corresponding to the target terminal does not meet the conditions and the power supply mode of the functional external device is the first power supply mode, voice recognition is performed through the functional external device, and the first recognition unit of the smart toilet itself is controlled to stop working. By coordinating the target terminal, the functional external device and the recognition unit corresponding to the smart toilet, the optimal recognition unit is dynamically selected for voice recognition in different situations, effectively avoiding the serious interference of the smart toilet working noise on the voice signal, and at the same time realizing the true "non-contact" voice wake-up and control process, and significantly reducing the overall system power consumption, greatly improving the accuracy and response speed of smart toilet control.
[0095] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 2 After step S10, the smart toilet control method further includes steps S40 to S60:
[0096] Step S40 : When the power supply mode of the functional external device is the second power supply mode, obtaining the working environment noise collected by the first recognition unit.
[0097] It should be noted that the second power supply mode is battery power supply mode. If the terminal operation information of the target terminal does not meet the function triggering conditions and the power supply mode of the functional external device is the second power supply mode, the smart toilet needs to collect noise. The microphone array in the first recognition unit collects the working environment noise of the smart toilet. The louder the working environment noise, the worse the effect of voice collection and recognition by the first recognition unit of the smart toilet.
[0098] Step S50 , when the decibel value of the working environment noise is greater than a preset decibel threshold, sending a function awakening instruction to the functional external device, so that the functional external device activates the third recognition unit according to the function awakening instruction.
[0099] It should be noted that when the decibel value of the smart toilet's operating environment exceeds the preset decibel threshold, it indicates that the smart toilet is in a high-noise operating state. At this time, the smart toilet's first recognition unit cannot be used for voice collection and recognition. The third recognition unit in the functional external device must be used as the optimal voice recognition path to collect and recognize the user's voice. At the same time, the smart toilet must control the first recognition unit to stop operating. In this embodiment, the preset decibel threshold is set to 30dB(A), but it can also be set according to needs and is not limited to this embodiment.
[0100] It is understood that when the functional external device is powered by the second power supply mode, the third recognition unit is in a dormant state or a low-power standby state and only begins to operate upon receiving a valid start-up command from the smart toilet. Therefore, when the decibel value of the working environment noise exceeds a preset decibel threshold, the smart toilet needs to send a function wake-up command to the functional external device. The function wake-up command is used to control the third recognition unit to enter the working state. The function wake-up command can be a specific signal pulse or other form of expression, which is not limited in this embodiment.
[0101] In a specific implementation, the output end of the signal receiving head of the functional external device is connected to the external interrupt pin of the processor of the functional external device. When a functional wake-up command issued by the smart toilet is detected, an interrupt is immediately triggered to wake up the functional external device. After the functional external device is awakened, the pulse signal corresponding to the functional wake-up command is further decoded to confirm whether it is a valid command. If so, the third recognition module is further awakened and the third recognition module enters the working state. In this embodiment, confirming whether the pulse signal is a valid command can be performed as follows: checking whether the pulse signal conforms to a predefined communication protocol. If so, the address information of the smart toilet contained in the pulse signal is further parsed. If the address information of the smart toilet matches the address information stored in the functional external device itself, the command is determined to be a valid command. Other verification methods can also be used to determine whether the pulse signal corresponding to the functional wake-up command is a valid command. This embodiment is not limited to this.
[0102] Step S60: upon receiving the voice recognition result sent by the third recognition unit in the functional external device, performing a control response according to the voice recognition result.
[0103] It should be noted that the microphone array in the third recognition unit continuously collects the user's voice. The microprocessor then performs content recognition on the user's voice, obtaining the control content corresponding to the user's voice. This control content is included in the voice recognition result. The third recognition unit then transmits the voice recognition result to the smart toilet via a communication method such as Bluetooth or Wi-Fi.
[0104] In a specific implementation, after receiving the voice recognition result sent by the third recognition unit, the smart toilet will respond to the control content therein. For example, if the control content is "seat heating", the smart toilet will start the seat heating function.
[0105] It should be noted that, during the process of collecting and recognizing the user's voice, the third recognition unit will monitor the ambient noise in the space where the smart toilet is located in real time. If the decibel value corresponding to the ambient noise is less than the preset decibel threshold, the result that the decibel value corresponding to the ambient noise is less than or equal to the preset decibel threshold will be sent to the smart toilet. When the smart toilet receives the result, it will re-control the operation of the first recognition unit and obtain the working environment noise collected by the first recognition unit. When the working environment noise is less than or equal to the preset decibel threshold, it means that the smart toilet has changed from a high-noise working state to a quiet working state. At this time, a shutdown instruction is sent to the functional external device to control the third recognition unit of the functional external device to shut down, and the third recognition unit re-enters the sleep / low-power standby state. At this time, the user's voice is collected and recognized through the first recognition unit.
[0106] In a feasible implementation manner, after step S40, steps C11 to C13 may be further included:
[0107] Step C11: When the decibel value of the working environment noise is less than or equal to a preset decibel threshold, control the first recognition unit to collect user voice.
[0108] Step C12: Recognize the collected user voice through the first recognition unit to determine a voice recognition result.
[0109] Step C13: Perform control response according to the speech recognition result.
[0110] It should be noted that when the terminal operation information corresponding to the target terminal does not meet the function triggering conditions, the power supply mode of the functional external device is the second power supply mode and the noise decibel value of the working environment noise is less than or equal to the preset decibel threshold, it means that the smart toilet is in a quiet working state. At this time, the first recognition unit of the smart toilet is used to collect and recognize voice, and the first recognition unit is used as the optimal voice recognition path, and the first recognition unit is used to collect and recognize user voice.
[0111] It is understood that the microphone array in the first recognition unit continuously collects the user's voice. The microprocessor then performs content recognition on the user's voice collected by the microphone array to obtain the control content corresponding to the user's voice, and the voice recognition result includes this control content. The smart toilet's processor responds to the control content in the voice recognition result. For example, if the control content is "flush," the smart toilet will flush.
[0112] This embodiment obtains the working environment noise collected by the first recognition unit when the power supply mode of the functional external device is the second power supply mode; when the decibel value of the working environment noise is greater than the preset decibel threshold, sends a function wake-up instruction to the functional external device, so that the functional external device starts the third recognition unit according to the function wake-up instruction; when receiving the voice recognition result sent by the third recognition unit in the functional external device, controls the response according to the voice recognition result. Through the above method, when the power supply mode of the functional external device is the battery power supply mode, the optimal recognition unit can be selected as the voice recognition path from the third recognition unit of the functional external device and the first recognition unit in the smart toilet according to the decibel value of the working environment noise, thereby ensuring the accuracy of voice recognition.
[0113] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment and / or the second embodiment can be referred to the above introduction and will not be described in detail later. Figure 3 The intelligent toilet control method further includes steps S01 to S04:
[0114] Step S01: When the terminal operation information corresponding to the target terminal meets the function triggering condition, a prompt message is sent to the target terminal, so that the target terminal pushes the prompt message to a display interface.
[0115] It should be noted that when the terminal operation information corresponding to the target terminal meets the function triggering conditions, the user has entered the usage range of the smart toilet with the target terminal in hand, and the smart toilet sends a prompt message to the target terminal. The target terminal pushes the prompt message to the display interface. The prompt message is used to prompt the user to switch the voice recognition function to the target terminal.
[0116] Step S02: when receiving user response information sent by the target terminal within a preset time period, controlling the first identification unit to stop running and obtaining the power supply mode of the functional external device, the user response information is feedback from the user through the display interface.
[0117] It should be noted that after the prompt information is pushed to the display interface, the user can determine whether to switch the voice recognition function to the target terminal by operating the display screen or issuing a voice command. In this embodiment, the user response information is the information provided by the user through an operation (such as clicking) on the display screen to indicate that they agree to switch the voice recognition function to the target terminal.
[0118] It is understandable that when the target terminal receives the user response information sent by the user, the user response information will be forwarded to the smart toilet. When the user response information sent by the target terminal is received within the preset time period, the second recognition unit of the target terminal is used to collect and recognize the voice, and the second recognition unit of the target terminal is used as the optimal voice recognition path. The smart toilet needs to control the first recognition unit to stop running and obtain the power supply mode of the functional external device at the same time. In this embodiment, the preset time period is a time period with a fixed time interval starting from the sending time of the prompt information. The fixed time length is set to 10s, and can also be set according to needs. This embodiment does not limit this.
[0119] It is understood that if no user response information is received from the target terminal within the preset time period, or if relevant information indicating that the user refuses to switch functions is received from the target terminal within the preset time period, it indicates that the user does not agree to switch the voice recognition function to the target terminal. In this case, the following steps need to be performed: obtaining the power supply mode of the functional external device; if the power supply mode of the functional external device is the first power supply mode, controlling the first recognition unit to stop operating; and upon receiving the voice recognition result sent by the third recognition unit in the functional external device, performing a control response based on the voice recognition result.
[0120] Step S03 : When the power supply mode of the functional external device is the first power supply mode, a function shut-down instruction is sent to the functional external device, so that the functional external device controls the third identification unit to stop operating according to the function shut-down instruction.
[0121] It should be noted that when the external device is powered by the first power supply mode, the third recognition unit of the external device is always in a low-power monitoring state. To avoid wasting resources, the smart toilet sends a function shutdown command to the external device. After receiving the function shutdown command, the external device controls the third recognition unit to stop operating. At this time, the external device will only wake up the third recognition unit and enter the low-power monitoring state when it receives a function activation command from the smart toilet.
[0122] It can be understood that when the power supply mode of the functional external device is the second power supply mode, since the third identification unit is in a sleep / low-power standby state at this time, the smart toilet does not need to send relevant instructions to the functional external device.
[0123] Step S04: upon receiving the speech recognition result sent by the second recognition unit in the target terminal, performing a control response according to the speech recognition result.
[0124] It should be noted that the microphone array in the second recognition unit of the target terminal continuously collects the user's voice. At this time, the microprocessor performs content recognition on the user's voice collected by the microphone array to obtain the control content corresponding to the user's voice, and the voice recognition result includes this control content. The second recognition unit then transmits the voice recognition result to the smart toilet via communication methods such as Bluetooth or Wi-Fi.
[0125] In a specific implementation, after receiving the voice recognition result sent by the second recognition unit, the smart toilet will respond to the control content therein. For example, if the control content is "warm water washing", the smart toilet will start the warm water washing function.
[0126] It should be noted that in this implementation, because the target terminal has optimal processing performance and the user can issue commands close to the target terminal, the signal-to-noise ratio is very high. However, the third recognition unit in the external device is farther away from noise sources such as the toilet motor and fan than the first recognition unit. Therefore, when determining the optimal speech recognition path, the second recognition unit in the target terminal has a higher priority than the third recognition unit in the external device, and the third recognition unit in the external device has a higher priority than the first recognition unit in the smart toilet. When the terminal operation information corresponding to the target terminal does not meet the function triggering conditions, or the user refuses to switch the voice recognition function to the target terminal, it is determined whether the power supply mode of the functional external device is the normal power supply mode; if so, the third recognition unit is selected for voice collection and recognition; if the power supply mode of the functional external device is battery power supply, it is determined whether the smart toilet is in a high-noise working state; if the smart toilet is in a high-noise working state, the third recognition unit is selected for voice collection and recognition; if the smart toilet is in a high-noise working state, the first recognition unit is selected for voice collection and recognition; if the terminal operation information corresponding to the target terminal meets the function triggering conditions and the user agrees to switch the voice recognition function to the target terminal, the second recognition unit is selected for voice collection and recognition.
[0127] This embodiment sends a prompt message to the target terminal when the terminal operation information corresponding to the target terminal meets the function trigger condition, so that the target terminal pushes the prompt message to the display interface; when receiving the user response information sent by the target terminal within the preset time period, the first recognition unit is controlled to stop running and the power supply mode of the functional external device is obtained, and the user response information is the feedback of the user through the display interface; when the power supply mode of the functional external device is the first power supply mode, a function shutdown instruction is sent to the functional external device, so that the functional external device controls the third recognition unit to stop running according to the function shutdown instruction; when receiving the voice recognition result sent by the second recognition unit in the target terminal, a control response is performed according to the voice recognition result. Through the above method, when the terminal operation information corresponding to the target terminal meets the function trigger condition, the optimal recognition unit can be selected as the voice recognition path according to the user's response information, thereby ensuring the accuracy of voice recognition and saving system resources.
[0128] It should be noted that the above examples are only used to understand this application and do not constitute a limitation on the smart toilet control method of this application. More simple transformations based on this technical concept are all within the scope of protection of this application.
[0129] This application also provides a smart toilet control device, please refer to Figure 4 , the intelligent toilet control device includes:
[0130] an acquisition module 10, configured to acquire a power supply mode of a functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, wherein the target terminal is equipped with a second recognition unit, and the functional external device is equipped with a third recognition unit, and the first recognition unit, the second recognition unit, and the third recognition unit are all used for voice recognition;
[0131] The control module 20 is configured to control the first identification unit to stop operating when the power supply mode of the functional external device is the first power supply mode.
[0132] The response module 30 is configured to, upon receiving the voice recognition result sent by the third recognition unit in the functional external device, perform a control response according to the voice recognition result.
[0133] Optionally, the acquisition module 10 is further configured to:
[0134] When the power supply mode of the functional external device is the second power supply mode, the working environment noise collected by the first recognition unit is obtained; when the noise decibel value of the working environment noise is greater than the preset decibel threshold, a function wake-up instruction is sent to the functional external device, so that the functional external device starts the third recognition unit according to the function wake-up instruction; when the voice recognition result sent by the third recognition unit in the functional external device is received, a control response is performed according to the voice recognition result.
[0135] Optionally, the acquisition module 10 is further configured to:
[0136] When the noise decibel value of the working environment noise is less than or equal to a preset decibel threshold, the first recognition unit is controlled to collect user voice; the collected user voice is recognized by the first recognition unit to determine a voice recognition result; and a control response is performed according to the voice recognition result.
[0137] Optionally, the acquisition module 10 is further configured to:
[0138] Upon receiving a device binding request sent by a target terminal, the device binding request is subjected to a validity check; when the validity check result is a preset pass result, the device binding request is responded to; the terminal identification information is determined according to the device binding request; when the current operating state is a normal operating state, a signal scan is performed according to the terminal identification information, and the terminal operating information corresponding to the target terminal is determined according to the signal scanning result.
[0139] Optionally, the acquisition module 10 is further configured to:
[0140] Acquire functional power supply information sent by the functional external device; determine the power supply mode of the functional external device according to the functional power supply information, and store the power supply mode of the functional external device.
[0141] Optionally, the acquisition module 10 is further configured to:
[0142] When the terminal operation information corresponding to the target terminal meets the function triggering condition, a prompt message is sent to the target terminal so that the target terminal pushes the prompt message to the display interface; when a user response message is received from the target terminal within a preset time period, the first recognition unit is controlled to stop running, and the power supply mode of the functional external device is obtained, and the user response information is feedback from the user through the display interface; when the power supply mode of the functional external device is the first power supply mode, a function shutdown instruction is sent to the functional external device so that the functional external device controls the third recognition unit to stop running according to the function shutdown instruction; when a voice recognition result is received from the second recognition unit in the target terminal, a control response is performed according to the voice recognition result.
[0143] The smart toilet control device provided in this application utilizes the smart toilet control method of the aforementioned embodiment, resolving the prior art's difficulty in achieving both high recognition rates and low power consumption for smart toilets in noisy environments. Compared to the prior art, the beneficial effects of the smart toilet control device provided in this application are the same as those of the smart toilet control method of the aforementioned embodiment. Other technical features of the smart toilet control device are the same as those disclosed in the aforementioned embodiment and are not further detailed here.
[0144] The present application provides a smart toilet, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the smart toilet control method in the above-mentioned embodiment one.
[0145] Reference below Figure 5 , which shows a schematic diagram of the structure of a smart toilet suitable for implementing the embodiments of the present application. The smart toilet in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The smart toilet shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0146] like Figure 5As shown, the smart toilet may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the smart toilet. Processing device 1001, ROM 1002, and RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and communication device 1009. Communication device 1009 can allow the smart toilet to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a smart toilet with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.
[0147] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0148] The smart toilet provided in this application utilizes the smart toilet control method of the aforementioned embodiment, resolving the prior art's difficulty in achieving both high recognition rates and low power consumption in noisy environments. Compared to the prior art, the beneficial effects of the smart toilet provided in this application are the same as those of the smart toilet control method of the aforementioned embodiment. Other technical features of this smart toilet are the same as those disclosed in the aforementioned embodiment and are not further detailed here.
[0149] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0150] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0151] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the smart toilet control method in the above-mentioned embodiment.
[0152] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: 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 thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0153] The computer-readable storage medium may be included in the smart toilet, or may exist independently without being assembled into the smart toilet.
[0154] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the smart toilet, the smart toilet: when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, obtains the power supply mode of the functional external device, the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, the first recognition unit, the second recognition unit and the third recognition unit are all used for voice recognition; when the power supply mode of the functional external device is the first power supply mode, the first recognition unit is controlled to stop running; when receiving the voice recognition result sent by the third recognition unit in the functional external device, a control response is performed according to the voice recognition result.
[0155] Computer program code for performing the operations of the present application may 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" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0156] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0157] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0158] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned intelligent toilet control method. This computer-readable storage medium addresses the prior art's difficulty in achieving both high recognition rates and low power consumption for intelligent toilets in noisy environments. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the intelligent toilet control method provided in the aforementioned embodiments, and are not further elaborated here.
[0159] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned smart toilet control method when executed by a processor.
[0160] The computer program product provided in this application solves the existing technical problem of achieving both high recognition rates and low power consumption for smart toilets in noisy environments. Compared to the existing technology, the computer program product provided in this application offers the same beneficial effects as the smart toilet control method provided in the aforementioned embodiments, and will not be further elaborated here.
[0161] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A smart toilet control method, characterized in that: The toilet control method is applied to a smart toilet, wherein a first identification unit is installed in the smart toilet, and the method includes: When the terminal operation information corresponding to the target terminal does not meet the function triggering condition, obtaining a power supply mode of the functional external device, the target terminal is installed with a second recognition unit, the functional external device is installed with a third recognition unit, and the first recognition unit, the second recognition unit, and the third recognition unit are all used for voice recognition; When the power supply mode of the functional external device is the first power supply mode, controlling the first identification unit to stop operating; When receiving the voice recognition result sent by the third recognition unit in the functional external device, a control response is performed according to the voice recognition result.
2. The method according to claim 1, wherein After the step of obtaining the power supply mode of the functional external device, the method further includes: When the power supply mode of the functional external device is the second power supply mode, obtaining the working environment noise collected by the first recognition unit; When the decibel value of the working environment noise is greater than a preset decibel threshold, sending a function wake-up instruction to the functional external device, so that the functional external device activates the third recognition unit according to the function wake-up instruction; When receiving the voice recognition result sent by the third recognition unit in the functional external device, a control response is performed according to the voice recognition result.
3. The method according to claim 2, wherein After the step of obtaining the working environment noise collected by the first recognition unit when the power supply mode of the functional external device is the second power supply mode, the method further includes: When the decibel value of the working environment noise is less than or equal to a preset decibel threshold, controlling the first recognition unit to collect the user's voice; Recognize the collected user voice by the first recognition unit to determine a voice recognition result; A control response is performed according to the speech recognition result.
4. The method according to any one of claims 1 to 3, characterized in that The terminal operation information includes the signal strength between the terminal and the target terminal and the distance between the terminal and the target terminal; The function triggering condition includes at least one of the following: The signal strength between the target terminal and the target terminal is greater than or equal to a preset strength threshold; The distance between the target terminal and the target terminal is within a preset usage range.
5. The method according to any one of claims 1 to 3, characterized in that Before the step of obtaining the power supply mode of the functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, the method further includes: Upon receiving a device binding request sent by a target terminal, performing a validity check on the device binding request; When the legitimacy check result is a preset pass result, responding to the device binding request; Determining terminal identification information according to the device binding request; When the current operation state is a normal operation state, a signal scan is performed according to the terminal identification information, and the terminal operation information corresponding to the target terminal is determined according to the signal scanning result.
6. The method according to any one of claims 1 to 3, characterized in that Before the step of obtaining the power supply mode of the functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, the method further includes: Obtain functional power supply information sent by functional external devices; The power supply mode of the functional external device is determined according to the functional power supply information, and the power supply mode of the functional external device is stored.
7. The method according to claim 1, wherein The method further comprises: When the terminal operation information corresponding to the target terminal meets the function triggering condition, sending a prompt message to the target terminal so that the target terminal pushes the prompt message to the display interface; When receiving user response information sent by the target terminal within a preset time period, controlling the first recognition unit to stop running and obtaining the power supply mode of the functional external device, wherein the user response information is feedback from the user through the display interface; When the power supply mode of the functional external device is the first power supply mode, sending a function shutdown instruction to the functional external device, so that the functional external device controls the third identification unit to stop operating according to the function shutdown instruction; When receiving the speech recognition result sent by the second recognition unit in the target terminal, a control response is performed according to the speech recognition result.
8. An intelligent toilet control device, characterized in that: The device comprises: an acquisition module, configured to acquire a power supply mode of a functional external device when the terminal operation information corresponding to the target terminal does not meet the function triggering condition, wherein the target terminal is installed with a second recognition unit, and the functional external device is installed with a third recognition unit, and the first recognition unit, the second recognition unit, and the third recognition unit are all used for voice recognition; A control module, configured to control the first identification unit to stop operating when the power supply mode of the functional external device is the first power supply mode; The response module is used to perform a control response according to the voice recognition result when receiving the voice recognition result sent by the third recognition unit in the functional external device.
9. A smart toilet, characterized in that: The smart toilet includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the toilet control method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the toilet control method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Intelligent toilet equipment user binding method and device, medium and product
CN121125378A