Closestool function setting method and device, closestool and storage medium
By integrating operating controls on the toilet and using the power-on duration and operation signal generation time to distinguish the function mapping table, the problems of user operation difficulty and high production costs caused by too many buttons are solved, and the operation interface is simplified and costs are reduced.
Patent Information
- Application Number
- CN202511070776.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-09-26
AI Technical Summary
Existing toilets have many buttons, which makes operation difficult for users, causes frequent misoperations, and increases production costs.
By integrating operating controls on the toilet and using the power-on duration and operating signal generation time to distinguish the function mapping table, different function settings can be achieved for the same operating control, reducing the number of buttons and simplifying the operating interface.
It improves user experience and operational convenience, reduces production costs, simplifies the production and assembly process, and meets users' personalized needs.
Smart Images

Figure CN120704581A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a toilet function setting method, device, toilet and storage medium. Background Art
[0002] To meet diverse usage needs, toilets currently feature numerous independent control buttons, each corresponding to a specific function. For example, some high-end toilets may feature a dozen or more buttons for posterior wash, feminine wash, drying, nightlight, water temperature adjustment, water pressure adjustment, and seat heating intensity adjustment. These buttons, densely distributed on the side of the toilet or on the remote control, not only clutter the control panel but also require users to spend time identifying the functions of different buttons. This can be especially difficult for elderly or first-time users, as they can easily press the wrong button, negatively impacting the user experience.
[0003] On the other hand, from a production perspective, a large number of control buttons requires independent trigger modules, signal transmission lines, and corresponding control chip interfaces. Each additional button requires additional hardware costs. Furthermore, the greater the number of buttons, the higher the assembly precision required during production, which increases the assembly error rate and, consequently, the manufacturing cost. Summary of the Invention
[0004] The embodiments of the present invention provide a toilet function setting method, device, toilet and storage medium, which can improve the problem that there are many buttons for existing toilet functions, which affects the user experience.
[0005] In a first aspect, an embodiment of the present invention provides a method for setting toilet functions, wherein an operation control is integrated on a toilet body, the method comprising:
[0006] receiving a power-on signal, and determining a power-on duration according to the power-on signal;
[0007] When a first operation signal generated by the operation control is received during the process of counting the power-on duration, a target function mapping table is determined according to the signal generation time of the first operation signal and the power-on duration, wherein the target function mapping table includes a first mapping table or a second mapping table, in the first mapping table, a setting of a first-category operation signal corresponds to a first-category sub-function; in the second mapping table, a setting of a second-category operation signal corresponds to a second-category sub-function, and the setting of the first-category operation signal is the same as the setting of the corresponding second-category operation signal, but corresponds to different first-category sub-functions and second-category sub-functions;
[0008] A target sub-function is determined from the target function mapping table according to the first operation signal, and the toilet function is set based on the target sub-function.
[0009] In a second aspect, an embodiment of the present invention provides a toilet function setting device, wherein an operating control is integrated on a toilet body, the device comprising:
[0010] A first duration determination module, configured to receive a power-on signal and determine a power-on duration according to the power-on signal;
[0011] a mapping table determination module, configured to, when receiving a first operation signal generated based on the operation control during the process of counting the power-on duration, determine a target function mapping table based on a signal generation time of the first operation signal and the power-on duration, wherein the target function mapping table includes a first mapping table or a second mapping table, wherein in the first mapping table, a setting of a first-category operation signal corresponds to a first-category sub-function; and in the second mapping table, a setting of a second-category operation signal corresponds to a second-category sub-function, and the setting of the first-category operation signal is the same as the setting of the corresponding second-category operation signal, but corresponds to different first-category and second-category sub-functions;
[0012] A function setting module is used to determine a target sub-function from the target function mapping table according to the first operation signal, and to set the toilet function based on the target sub-function.
[0013] In a third aspect, an embodiment of the present invention further provides a toilet, comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the toilet function setting method described in any embodiment of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the toilet function setting method described in any embodiment of the present invention when executed.
[0018] The toilet function setting solution provided by the present invention, through the establishment of a first mapping table and a second mapping table, enables the same operation setting of the same operating control to correspond to different sub-functions, eliminating the need for a separate button for each sub-function. This significantly reduces the number of operating controls on the toilet body, simplifies the user interface, avoids misoperations caused by excessive buttons, and improves overall ease of use. A single operating control can be used to set multiple first- and second-category sub-functions. The settings for the first-category operation signal and the corresponding second-category operation signal are the same, but the corresponding first- and second-category sub-functions are different. In other words, the same operation setting method can achieve two different functions. This embodiment eliminates the need to set a corresponding operation method for each sub-function. Instead, user-defined settings can be customized based on user needs. Function settings are differentiated by power-on duration and the signal generation time of the first operating signal, so that less frequently used functions are set in the first mapping table and more frequently used functions are set in the second mapping table. This solution, while reducing the number of buttons, simplifying the production and assembly process, and lowering production costs, further achieves the beneficial effect of customizing toilet function settings based on actual user needs, improving the user experience.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the embodiments of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 This is a flowchart of a toilet function setting method provided by an embodiment of the present invention;
[0022] Figure 2 This is a structural diagram of a toilet function setting device provided by an embodiment of the present invention;
[0023] Figure 3 It is a structural schematic diagram of a toilet provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the present embodiment. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.
[0027] Figure 1 This is a flow chart of a toilet function setting method provided in an embodiment of the present invention. This embodiment is applicable to the situation where the control mode of the toilet is set. The method can be executed by a toilet function setting device, which can be implemented in the form of hardware and / or software and can be configured in the toilet.
[0028] Before introducing the toilet function setting method provided in this embodiment, the hardware structure of the toilet provided in this embodiment is described in advance. The toilet provided in this embodiment is provided with an operating control that has rotational and pressing functions. The user can perform various operations on the operating control to set various sub-functions. Preferably, the operating control provided in this embodiment is a knob.
[0029] Optionally, to facilitate user operations during actual use, the current operation control is set at the upper right front side of the outside of the toilet body, or at the upper front side of the toilet body. The purpose of this setting is to facilitate the user to operate the operation control when using the toilet without having to bend over or stretch the arm to control, thereby improving the user's operating experience. The specific setting position of the operation control is not restricted here.
[0030] refer to Figure 1 The toilet function setting method may specifically include the following steps:
[0031] S110: Receive a power-on signal, and determine a power-on duration according to the power-on signal.
[0032] The power-on signal, generated when the toilet is plugged in and powered on, is the initial signal that triggers the toilet into operation. When the toilet's power plug is plugged in and the external power switch is closed, the voltage in the circuit increases from zero to high, generating a power-on signal. This signal is captured by the toilet's control module and serves as a trigger for subsequent operations.
[0033] Power-on duration refers to the time interval from the moment the toilet receives the power-on signal to a specific operation point (such as when the user triggers an operation control). For example, after the user plugs in the toilet, the time from the moment the power is turned on to the time the user presses the operation control is the power-on duration in this scenario. In this embodiment, its role is to provide a time dimension for distinguishing different function mapping tables.
[0034] The power-on signal may be received by integrating a preset signal detection program to monitor the voltage signal transmitted by the power management unit in real time. When a jump in the voltage signal from zero to a positive state is detected, it is determined that the power-on signal has been received, and a timing program is triggered to determine the power-on duration based on the timing program.
[0035] S120 : When a first operation signal generated by an operation control is received during the process of counting the power-on duration, a target function mapping table is determined according to the signal generation time of the first operation signal and the power-on duration.
[0036] The first operation signal is the electrical signal generated when the user operates the operating control (such as a short press or long press) while the toilet is counting power-on time. It is the initial instruction for the user to trigger function selection and is also the key input signal for the system to determine the target function mapping table.
[0037] The signal generation time refers to the specific moment when the first operation signal is captured by the system, usually expressed in the form of "power-on duration". For example, if an operation signal is generated 10 seconds after power-on, its signal generation time is 10 seconds.
[0038] In this embodiment, the target function mapping table includes a first mapping table or a second mapping table. In the first mapping table, a setting of a first-class operation signal corresponds to a first-class sub-function; in the second mapping table, a setting of a second-class operation signal corresponds to a second-class sub-function. The setting of the first-class operation signal is the same as the setting of the corresponding second-class operation signal, but the corresponding first-class sub-function and second-class sub-function are different.
[0039] The above-mentioned first mapping table is a preset function correspondence table, in which one type of operation signal forms a fixed mapping with one type of sub-function, which is applicable to operation scenarios within a short time after power-on. The second mapping table is a preset function correspondence table, in which two types of operation signals form a fixed mapping with two types of sub-functions, which is applicable to operation scenarios within a long time after power-on. It can be simply understood that the first mapping table in this embodiment is used to store the infrequently used (default) functions involved in the user's use of the toilet, such as starting the night light setting function, starting the automatic flush setting function, and starting the radar sensing sub-function; the second mapping table is used to store the functions that may need to be personalized according to the different users when the user actually uses the toilet, such as the seat temperature setting function, the water pressure setting function, the feminine wash function, and the buttock wash function. The functions contained in the specific first mapping table and the second mapping table are not limited here, and are set according to the actual use needs of the user.
[0040] Optionally, the method of setting the first mapping table and the second mapping table can be: an application APP associated with the toilet is provided in the mobile terminal, and after the toilet is powered on and communicated with the application, a function setting interface is provided in the visual interface of the mobile terminal; the function setting interface includes an operation mode sub-interface and a sub-function collection sub-interface, such as the operation mode sub-interface on the left and the sub-function collection sub-interface on the right, and a "first category sub-function setting" label and a "second category sub-function setting" label are provided at the top for switching the configuration mode of the first / second mapping table.
[0041] Specifically, the setting process of implementing the first mapping table based on the mobile terminal can be: Step 1: The user clicks on the top "A type of sub-function setting" label, and the APP prompts "The operation mapping of the currently configured infrequently used functions (such as night light, automatic flushing, etc.)". At this time, the operation mode sub-interface on the left displays the preset operation types, such as "short press for 1 second", "long press for 3 seconds", "double-click", "rotate forward once", and "rotate backward once"; the sub-function collection sub-interface on the right only lists a type of sub-function such as "start night light", "start automatic flushing when leaving the seat", "start foot-sensed flushing", "turn off all auxiliary functions", "start radar" and "foam shield"; Step 2: The user selects an operation mode on the left, such as "long press for 3 seconds", and then clicks on the target function such as "start night light" in the sub-function collection on the right. The APP pops up a confirmation box "Do you want to bind 'long press for 3 seconds' as' "Activate the 'night light' function?" After the user confirms, the mapping relationship is temporarily saved in the editing area of the first mapping table. Step 3: Prompt the user to perform an actual operation on the toilet based on the current operation mode. For example, if the user actually presses the control for 3 seconds, the system will activate the night light after receiving the current operation signal. By combining the mobile terminal with the actual operation, the user can deepen the operation mode to complete the binding of a first-class sub-function. Step 4: Repeat steps 2 and 3 above to bind other operation modes to corresponding first-class sub-functions, such as binding "short press for 1 second" to "activate automatic flush." The app supports modifying existing bindings, such as clicking on an entry in the editing area to reselect or deleting redundant mappings. Preferably, in the solution provided in this embodiment, the settings of the first-class operation signal corresponding to each first-class sub-function in the first mapping table include the following: the setting of the forward rotation operation signal corresponds to the activation of the radar sensing sub-function; the setting of the backward rotation operation signal corresponds to the activation of the automatic flushing sub-function upon leaving the seat; the setting of a long press for a first preset duration corresponds to the activation of the night light sub-function; and the setting of a preset number of rapid presses corresponds to the activation of the foot-sensing flushing sub-function.
[0042] The setting process of implementing the second mapping table based on a mobile terminal can be as follows: Step 1: The user clicks on the "Second Category Sub-Function Settings" label at the top, and the APP prompts "Operation mapping of the currently configured personalized functions (such as seat temperature, butt wash, etc.)". At this time, the operation mode sub-interface on the left is exactly the same as the first category setting, such as "short press for 1 second", "long press for 3 seconds", "double-click", "rotate forward once", and "rotate backward once". The sub-function collection sub-interface on the right lists the second category of sub-functions, such as "seat temperature + adjustment", "seat temperature - adjustment", "water pressure + adjustment", "water pressure - adjustment", "female wash function", "butt wash function" and "warm air drying", etc. Step 2: The operation logic is the same as the first category setting: the user selects the operation mode on the left, such as "long press for 3 seconds", and selects the second category of sub-functions such as "butt wash function" on the right. After confirmation, the binding relationship is temporarily saved to the editing area of the second mapping table. It should be noted that the same operation mode needs to be bound to different functions in the first and second category mapping tables (e.g., "short press for 1 second" in category 1 corresponds to "automatic flushing," while in category 2 it corresponds to "hip wash"); Step 3: Prompt the user to perform actual operations in the toilet according to the current operation mode. For example, if the user actually presses the operation control for 3 seconds, the system will activate the hip wash function in the toilet after receiving the current operation signal, thereby completing the binding of a second category sub-function; Step 4: Repeat the above steps 2 and 3. Preferably, in the solution provided in this embodiment, the setting of a second category operation signal in the second mapping table corresponds to a second category sub-function, including: the setting of the forward rotation operation signal corresponds to activating the seat temperature increase sub-function, the setting of the backward rotation operation signal corresponds to activating the seat temperature reduction sub-function; the setting of long pressing for the first preset time corresponds to activating the water pressure increase sub-function; the setting of quickly pressing a preset number of times corresponds to activating the water pressure reduction sub-function.
[0043] In a preferred implementation, the specific method of determining the target function mapping table may be:
[0044] When the signal generation time is within the first duration, the target function mapping table is determined to be the first mapping table; when the signal generation time is not within the first duration, the target function mapping table is determined to be the second mapping table. The solution provided in this embodiment distinguishes mapping tables through a single judgment condition of time threshold comparison, avoiding complex logical operations, reducing software design difficulty and error probability, and ensuring the stability of function switching. Furthermore, this solution does not require additional sensors or operating controls. Without increasing hardware costs, it expands the functional coverage through the two-dimensional combination of time and operating signals, solving the problem of traditional toilets with multiple buttons and fixed functions.
[0045] In this embodiment, the system pre-sets a first time duration, such as 30 seconds or 60 seconds, and stores it in the toilet's memory as a time determination threshold for distinguishing between the first mapping table and the second mapping table. The first time duration can be adjusted via the mobile terminal to meet various user settings.
[0046] Furthermore, if an operation signal from the user for the operation control is received within the first time period, the first mapping table is called; if an operation signal from the user for the operation control is received outside the first time period (i.e., more than 30 seconds), the second mapping table is called; and further in subsequent operations, the corresponding operation of determining the target sub-function in the target mapping table according to the operation signal is performed.
[0047] It should be noted that this embodiment determines the target function mapping table based on the power-on duration and the time it takes to receive the first operation signal. This is because, to ensure normal toilet use, toilets are typically kept continuously powered on. Therefore, by setting infrequently used (default) functions within the first duration, since these functions, once set, require less frequent changes, limiting their settings to this first duration allows for "hidden management" of functions. When the toilet is normally powered on, these functions will not appear in the user's daily operation process, preventing interference with commonly used functions and reducing the probability of accidentally accessing infrequently used functions. When the user does need to adjust these infrequently used functions, they simply power the toilet back on and operate them through the control panel within the first duration. This ensures function accessibility and enables orderly function management through time-based division. Users can set frequently changed or frequently used functions in the second mapping table. This eliminates the need to repeatedly select from a wide variety of functions during actual toilet use, enabling more efficient operation. Since the toilet is normally in a continuously powered state, the signal generation time is often not within the first duration during daily use by the user. At this time, the target function mapping table points to the second mapping table by default. The second mapping table stores functions that the user needs to change frequently or frequently used. This means that in most usage scenarios, the user only needs to perform simple operations through the operating controls to directly call these frequently used functions without the need for additional switching steps, which greatly shortens the operation path and improves the ease of use. This setting method simplifies the user's daily operation process without increasing hardware costs, and realizes on-demand function calling, solving the problem of operational confusion caused by the numerous function buttons of traditional toilets, while taking into account the comprehensiveness of functions and simplicity of use.
[0048] In another preferred implementation, when the signal generation time is within the first duration, the solution provided in this embodiment further includes the following operations:
[0049] If a second operation signal generated based on the operation control is received and the signal duration of the second operation signal exceeds the second duration, the operation of determining that the target function mapping table is the second mapping table is executed; if the second operation signal generated based on the operation control is not received, or the signal duration of the second operation signal does not exceed the second duration, the target function mapping table is maintained as the first mapping table.
[0050] The second operation signal is an electrical signal generated by a user performing a specific operation (such as a long press or continuous short presses) on an operating control within the first duration. This signal is used to trigger the target function mapping table switch. The second duration is a preset time threshold, such as 3 seconds, used to determine whether the second operation signal is valid. If the second operation signal lasts longer than this threshold, it is considered a valid signal and triggers the mapping table switch.
[0051] When the signal generation time is within the first time length, the system defaults to the first mapping table as the target function mapping table; but in order to improve the user's efficiency in setting the function mapping table, when the signal generation time is within the first time length, the user can switch to the second mapping table through active operation (such as long pressing the operation control for more than the second time length), breaking the limitation that only the first mapping table can be used within the first time length, without waiting for the first time length to end, and meeting the user's immediate needs in specific scenarios.
[0052] Once the target function mapping table switches to the second mapping table, the system will respond to subsequent operations according to the correspondence between the operation signal and the sub-function in the second mapping table. For example, in the second mapping table, "short press" corresponds to "water pressure adjustment", so after the switch, the user short presses the operation control to trigger the water pressure adjustment function; if the first mapping table is maintained, "short press" corresponds to the "activate night light" function in the first mapping table.
[0053] In the solution provided by this embodiment, the second duration setting sets a threshold for the second operation signal, preventing users from accidentally touching the operation control and causing the mapping table to switch inadvertently. This ensures that only clear user operations of sufficient duration can trigger mapping table switching, ensuring the stability of system function execution. Furthermore, different users have different operating habits and needs, and some users may need to switch to the second mapping table within the first duration. This setting can meet the operating habits of such users, allowing users to flexibly select mapping tables according to their needs, further enhancing the user's personalized experience.
[0054] S130: Determine a target sub-function from a target function mapping table according to the first operation signal, and set a toilet function based on the target sub-function.
[0055] The target sub-function is the specific function that matches the first operation signal from the target function mapping table. It is the operation that the toilet ultimately needs to perform, such as butt washing, feminine washing, starting the night light, adjusting the seat temperature, etc.
[0056] The system uses a signal analysis program to convert the electrical signal transmitted by the hardware into a recognizable operation type. For example, if the signal duration is 1 second and there is no continuous triggering, it is judged as a "short press"; if the duration is 3 seconds, it is judged as a "long press" and the operation type is temporarily stored in the system cache; the target function mapping table is stored in the toilet's memory in the form of a data structure (such as a key-value pair array); the system reads the operation type of the first operation signal from the cache (such as "short press"), and then traverses the target function mapping table to find the sub-function corresponding to the operation type. If the target function mapping table is the second mapping table and the operation type is "short press", the matched "buttocks wash" is the target sub-function.
[0057] After the system determines the target sub-function, it generates corresponding control instructions based on the function's execution requirements. For example, if the target sub-function is "hip wash," the system generates the instruction set "open the hip wash water circuit solenoid valve, adjust the water pressure to the preset value, and start the water flow." After the function is set up, the toilet can provide feedback to the user through an indicator light or sound prompt to let the user know that the target sub-function has been successfully activated.
[0058] In a preferred implementation, the first operation signal in this embodiment includes at least a primary operation signal and a secondary operation signal. The primary operation signal is the core signal in the first operation signal used to determine the target operation type. It is generated by the user's basic operation on the operation control, such as rotation, pressing, or clicking. It is equivalent to an index of the function classification, which can narrow the search range of sub-functions and provide direction for the subsequent determination of specific sub-functions. The secondary operation signal is a supplementary signal in the first operation signal used to accurately locate the target sub-function within the target operation type. It is usually generated by the user's secondary operation on the operation control. For example, rotation direction, rotation angle, number of short presses, long press interval, etc., it further filters the function category determined by the primary operation signal to achieve accurate selection of sub-functions.
[0059] Then, the above step S130 can be specifically implemented in the following manner:
[0060] Based on the primary operation signal, the corresponding target operation type is determined from the target function mapping table. An operation type includes multiple sub-functions. Based on the secondary operation signal, the target sub-function is determined from the target operation type. This embodiment provides a solution that logically associates the operation type with the function category, allowing users to quickly predict the function's effect based on the direction of the action. This reduces misoperations caused by confusion over button functions and improves user certainty.
[0061] The toilet's operating controls integrate a rotary encoder and a pressure sensor. The rotary encoder records the direction of rotation (forward / backward, or clockwise / counterclockwise) and the position of the position. The pressure sensor uses a timer to distinguish between short presses, long presses, and double presses.
[0062] The target operation type, such as a rotation operation, is further determined by the currently received main operation signal "rotate", "press" or "click". In addition, since the rotation operation may include forward rotation in the first gear, forward rotation in the second gear, forward rotation in the third gear, backward rotation in the first gear, backward rotation in the second gear, and backward rotation in the third gear, and each operation gear corresponds to a different sub-function. Therefore, it is necessary to further parse the auxiliary operation signal from the first operation signal to locate the target sub-function based on the target operation type. For example, "rotation direction (forward rotation) + rotation gear (second gear)", the corresponding target sub-function is to increase the seat ring temperature by 2°.
[0063] In another preferred implementation, the solution provided in this embodiment further includes, after determining the target sub-function from the target function mapping table based on the first operation signal, outputting prompt information related to the target sub-function after the target sub-function is set. The purpose of providing prompt information in this embodiment is to allow users to immediately know the function status after the operation, further improving the certainty and convenience of the user experience.
[0064] Specifically, the prompt information in this embodiment can be prompted by an indicator light or a sound prompt. When the prompt is implemented based on the indicator light, a multi-color LED indicator light can be set on the toilet body, and different sub-functions correspond to fixed colors or flashing modes. For example, "hip wash" corresponds to a constant blue light, and "seat heating" corresponds to a constant orange light. It lights up when the function is started and goes out when it is turned off; the red light flashes in case of a fault; when the prompt is implemented based on a sound, a buzzer or voice module is integrated to broadcast information through preset sound effects or voice. The function triggered by a short press uses a "beep" sound (100ms) to prompt a successful start, and the function triggered by a long press uses a "beep-" sound (500ms) to prompt; the voice module can broadcast the specific function name (such as "female wash function is turned on"), and can also support the volume adjustment setting of the mobile terminal APP. The specific method of setting the prompt information is not limited here.
[0065] Another preferred implementation method is to reflect the multiple settings of the toilet. In addition to the settings from the user's perspective, this embodiment provides a hierarchical permission mode, such as setting test permissions and engineer permissions, so as to call different setting permissions for the toilet by generating different operation signals. Among them, engineer-level permissions allow for rapid remote or on-site debugging of the equipment (such as directly entering the engineering mode through specific operations) without disassembling the machine or using special tools; test-level permissions facilitate full-function self-tests during factory inspection or after-sales maintenance, reducing manual troubleshooting time, helping to improve maintenance and testing efficiency, and reducing service costs. Specifically, the solution provided by this embodiment may also include the following operations after receiving the power-on signal:
[0066] A third operation signal generated by an operation control is received, the third operation signal being used to determine the current user's setting permissions; the third operation signal is generated before the first operation signal; a permission setting mapping table is called, wherein a second operation signal corresponds to a user setting permission in the permission setting mapping table; and the target user's setting permissions are determined from the permission setting mapping table based on the second operation signal, so as to implement toilet setting operations based on the target user's setting permissions. The solution provided in this embodiment provides multiple levels of permissions through the setting of the third operation signal. Different roles can obtain corresponding permissions through simple operations, avoiding functional confusion caused by everyone sharing the same operation permissions, adapting to the needs of multiple roles, and enhancing product professionalism.
[0067] The third operation signal is a specific combination of user actions performed through the control panel after the toilet is powered on and before the first operation signal is generated, such as "long press + rotate" or "continuous double-click + long press." This signal is used to trigger permission verification. This signal must be generated earlier than the first operation signal. For example, it should be triggered within 0-2 seconds after power-on, while the first operation signal is generated 2 seconds later to ensure that permission takes precedence over function settings.
[0068] After receiving and analyzing the third operation signal, the system automatically calls the permission setting mapping table and determines the current user's permission level and corresponding operation range by comparing the operation combination with the mapping table entries.
[0069] After determining the target user to set permissions, the system will perform permission verification on subsequent operations and only allow execution within the corresponding operation range. For example, user-level permissions can only call common sub-functions in the first mapping table and the second mapping table, and cannot access test or underlying functions. Test-level permissions, in addition to user functions, can trigger "full-function self-test" (such as starting hip washing, drying, and flushing tests at the same time), view sensor data (real-time values of water temperature and water pressure), but cannot modify underlying parameters; engineer-level permissions can enter engineering mode through specific operations, such as "rotate 360° + short press 3 times", adjust the flow meter threshold, heating power parameters, or upload firmware for upgrades through a mobile terminal. For example, after the engineer is powered on, the engineer executes the "long press 5 seconds + rotate 180° clockwise" operation signal within 1 second, and the system matches the engineer-level permissions after parsing; then the engineer triggers the first operation signal such as "rotate 90°", and the system verifies the permissions and allows it to modify the calibration parameters of the water pressure sensor, etc. It should be noted that the operating modes corresponding to the test permissions and engineer permissions in this embodiment hide the user-level permissions.
[0070] The toilet function setting method provided by the present invention, by setting a first mapping table and a second mapping table, enables the same operation setting of the same operating control to correspond to different sub-functions, eliminating the need for a separate button for each sub-function. This significantly reduces the number of operating controls on the toilet body, simplifies the user interface, avoids misoperations caused by excessive buttons, and improves overall ease of use. A single operating control can be used to set multiple first- and second-category sub-functions. The first-category operation signal setting is the same as the corresponding second-category operation signal setting, but the corresponding first- and second-category sub-functions are different. In other words, the same operation setting method can achieve two different functions. This embodiment eliminates the need to set a corresponding operation method for each sub-function. Instead, user-defined settings are performed based on the power-on duration and the signal generation time of the first operating signal. In this way, less frequently used functions are set in the first mapping table, and more frequently used functions are set in the second mapping table. This solution, while reducing the number of buttons, simplifying the production and assembly process, and lowering production costs, further achieves the beneficial effect of customizing toilet function settings based on actual user needs, improving the user experience.
[0071] Figure 2 This is a structural diagram of a toilet function setting device provided by an embodiment of the present invention, which is suitable for executing the toilet function setting method provided by an embodiment of the present invention. An operating control is integrated on the toilet body. Figure 2 As shown, the device may specifically include: a first duration determination module 210, a mapping table determination module 220, and a function setting module 230, wherein:
[0072] A first duration determination module 210 is configured to receive a power-on signal and determine a power-on duration according to the power-on signal;
[0073] a mapping table determination module 220 configured to, upon receiving a first operation signal generated by the operation control during the process of counting the power-on duration, determine a target function mapping table based on the signal generation time of the first operation signal and the power-on duration, wherein the target function mapping table includes a first mapping table or a second mapping table, wherein in the first mapping table, a setting of a first-class operation signal corresponds to a first-class sub-function; and in the second mapping table, a setting of a second-class operation signal corresponds to a second-class sub-function, and the setting of the first-class operation signal is the same as the setting of the corresponding second-class operation signal, but corresponds to different first-class sub-functions and second-class sub-functions;
[0074] The function setting module 230 is configured to determine a target sub-function from the target function mapping table according to the first operation signal, and implement the setting of the toilet function based on the target sub-function.
[0075] The toilet function setting device provided in this embodiment, by setting a first mapping table and a second mapping table, enables the same operation setting of the same operating control to correspond to different sub-functions, eliminating the need for a separate button for each sub-function. This significantly reduces the number of operating controls on the toilet body, simplifies the operating interface, avoids misoperations caused by too many buttons, and improves overall ease of use. A single operating control can be used to set multiple first- and second-category sub-functions. The setting of the first-category operation signal is the same as the setting of the corresponding second-category operation signal, but the corresponding first- and second-category sub-functions are different. That is, the same operation setting method can achieve two different functions. In this embodiment, there is no need to set a corresponding operation method for each sub-function. Only customized settings can be made according to user needs. Function settings are differentiated by power-on duration and the signal generation time of the first operating signal, so that less frequently used functions are set in the first mapping table and more frequently used functions are set in the second mapping table. The solution provided by this embodiment not only reduces the number of buttons, simplifies the production and assembly process, and reduces production costs, but also achieves the beneficial effect of customizing toilet function settings according to actual user needs, thereby improving the user experience.
[0076] In one embodiment, the mapping table determination module 220 is specifically used to determine that the target function mapping table is the first mapping table when the signal generation time is within the first time length; when the signal generation time is not within the first time length, determine that the target function mapping table is the second mapping table.
[0077] In one embodiment, the apparatus further includes: a second duration determination module, wherein:
[0078] A second duration determination module is used to, when the signal generation time is within the first duration, if a second operation signal generated based on the operation control is received, and the signal duration of the second operation signal exceeds the second duration, execute the operation of determining that the target function mapping table is the second mapping table; if the second operation signal generated based on the operation control is not received, or the signal duration of the second operation signal does not exceed the second duration, maintain the target function mapping table as the first mapping table.
[0079] In one embodiment, the first operation signal includes at least a main operation signal and a secondary operation signal;
[0080] The function setting module 230 is specifically used to determine the corresponding target operation type from the target function mapping table according to the main operation signal, where one operation type includes multiple sub-functions; and determine the target sub-function from the target operation type according to the auxiliary operation signal.
[0081] In one embodiment, the device further includes an information prompt module, wherein:
[0082] The information prompt module is used to output prompt information related to the target sub-function after the target sub-function is set.
[0083] In one embodiment, the device further includes an operation signal receiving module, a mapping table calling module, and a user authority determination module, wherein:
[0084] an operation signal receiving module, configured to receive a third operation signal generated based on the operation control, wherein the third operation signal is used to determine the setting authority of the current user; and the third operation signal is generated before the first operation signal;
[0085] A mapping table calling module, configured to call a permission setting mapping table, wherein a second operation signal corresponds to a user setting permission in the permission setting mapping table;
[0086] The user authority determination module is used to determine the target user setting authority from the authority setting mapping table according to the second operation signal, so as to implement the setting operation of the toilet based on the target user setting authority.
[0087] In one embodiment, the setting of each type of operation signal corresponds to one type of sub-function, including: the setting of the forward rotation operation signal corresponds to activating the radar sensing sub-function; the setting of the backward rotation operation signal corresponds to activating the automatic flushing sub-function when leaving the seat; the setting of long pressing for a first preset time corresponds to activating the night light sub-function; the setting of quickly pressing a preset number of times corresponds to activating the foot-sensing flushing sub-function;
[0088] The setting of one of the second-category operation signals corresponds to one of the second-category sub-functions, including: the setting of the forward rotation operation signal corresponds to starting the seat temperature increase sub-function, and the setting of the backward rotation operation signal corresponds to starting the seat temperature reduction sub-function; the setting of long pressing the first preset time corresponds to starting the water pressure increase sub-function; the setting of quickly pressing the preset number of times corresponds to starting the water pressure reduction sub-function.
[0089] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0090] The embodiment of the present invention further provides a toilet, Figure 3This is a block diagram of a toilet according to an embodiment of the present invention. The toilet includes: at least one processor 310; and memory 320 in communication with the at least one processor 310; wherein the memory 320 stores a computer program executable by the at least one processor 310. The computer program is executed by the at least one processor 310 to enable the at least one processor 310 to perform the toilet function setting method according to any embodiment of the present invention.
[0091] The computer device provided in the embodiment of the present invention can execute the theme toilet function setting method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0092] An embodiment of the present invention further provides a computer-readable medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the toilet function setting method described in any embodiment of the present invention when executed.
[0093] Of course, the storage medium containing computer-executable instructions provided in an embodiment of the present invention is not limited to the toilet function setting operations described above, and can also execute related operations in the toilet function setting method provided in any embodiment of the present invention.
[0094] The toilet function setting devices, equipment, and storage media provided in the above embodiments can execute the toilet function setting method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method. For technical details not fully described in the above embodiments, please refer to the toilet function setting method provided in any embodiment of the present invention.
[0095] The modules and / or units described in the embodiments of the present invention may be implemented in software or hardware. The modules and / or units described may also be provided in a processor. For example, a processor may be described as comprising a first duration determination module, a mapping table determination module, and a function setting module. The names of these modules do not, in some cases, limit the modules themselves.
[0096] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently and not be assembled into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device includes: receiving a power-on signal and determining a power-on duration based on the power-on signal; when receiving a first operation signal generated by the operation control during the process of counting the power-on duration, determining a target function mapping table based on the signal generation time of the first operation signal and the power-on duration, wherein the target function mapping table includes a first mapping table or a second mapping table, wherein in the first mapping table, a setting of a first-class operation signal corresponds to a first-class sub-function; in the second mapping table, a setting of a second-class operation signal corresponds to a second-class sub-function, and the setting of the first-class operation signal and the setting of the corresponding second-class operation signal are the same, but correspond to different first-class and second-class sub-functions; determining a target sub-function from the target function mapping table based on the first operation signal, and implementing the setting of the toilet function based on the target sub-function.
[0097] According to the technical solution of this embodiment, there's no need to set a corresponding operation mode for each sub-function. Instead, customization is performed based on user needs. Function settings are differentiated based on the power-on duration and the time it takes for the first operation signal to be generated, so that less frequently used functions are placed in the first mapping table and more frequently used functions are placed in the second mapping table. This solution, while reducing the number of buttons, simplifying the production and assembly process, and lowering production costs, further achieves the beneficial effect of customizing toilet function settings based on actual user needs, thereby improving the user experience.
[0098] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A toilet function setting method, characterized in that: An operating control is integrated on the toilet body, and the method includes: receiving a power-on signal, and determining a power-on duration according to the power-on signal; When a first operation signal generated by the operation control is received during the process of counting the power-on duration, a target function mapping table is determined according to the signal generation time of the first operation signal and the power-on duration, wherein the target function mapping table includes a first mapping table or a second mapping table, in the first mapping table, a setting of a first-category operation signal corresponds to a first-category sub-function; in the second mapping table, a setting of a second-category operation signal corresponds to a second-category sub-function, and the setting of the first-category operation signal is the same as the setting of the corresponding second-category operation signal, but corresponds to different first-category sub-functions and second-category sub-functions; A target sub-function is determined from the target function mapping table according to the first operation signal, and the toilet function is set based on the target sub-function.
2. The toilet function setting method according to claim 1, characterized in that: The determining of the target function mapping table according to the signal generation time of the first operation signal and the power-on duration includes: When the signal generation time is within the first duration, determining that the target function mapping table is the first mapping table; When the signal generation time is not within the first duration, the target function mapping table is determined to be the second mapping table.
3. The toilet function setting method according to claim 2, characterized in that: When the signal generation time is within the first duration, the method further includes: If a second operation signal generated based on the operation control is received, and the signal duration of the second operation signal exceeds a second duration, performing an operation of determining that the target function mapping table is the second mapping table; If the second operation signal generated based on the operation control is not received, or the signal duration of the second operation signal does not exceed the second duration, the target function mapping table is maintained as the first mapping table.
4. The toilet function setting method according to claim 1, characterized in that: The first operation signal includes at least a main operation signal and a secondary operation signal; The determining the target sub-function from the target function mapping table according to the first operation signal includes: Determine a corresponding target operation type from the target function mapping table according to the main operation signal, where one operation type includes multiple sub-functions; The target sub-function is determined from the target operation type according to the auxiliary operation signal.
5. The toilet function setting method according to claim 1, characterized in that: After determining the target sub-function from the target function mapping table according to the first operation signal, the method further includes: After the target sub-function is set, prompt information related to the target sub-function is output.
6. The toilet function setting method according to claim 1, characterized in that: After receiving the power-on signal, the method further includes: receiving a third operation signal generated based on the operation control, the third operation signal being used to determine the setting authority of the current user; the third operation signal being generated before the first operation signal; Calling a permission setting mapping table, in which a second operation signal corresponds to a user setting permission; The target user setting authority is determined from the authority setting mapping table according to the second operation signal, so as to implement the setting operation of the toilet based on the target user setting authority.
7. The toilet function setting method according to claim 1, characterized in that: The setting of one type of operation signal corresponds to one type of sub-function, including: The forward rotation operation signal setting corresponds to activating the radar sensor sub-function; the backward rotation operation signal setting corresponds to activating the automatic flushing sub-function when leaving the seat; the long press setting for the first preset time length corresponds to activating the night light sub-function; the quick press setting for the preset number of times corresponds to activating the foot-sensing flushing sub-function; The setting of one of the second-category operation signals corresponds to one of the second-category sub-functions, including: The setting of the forward rotation operation signal corresponds to starting the seat temperature increase sub-function, and the setting of the backward rotation operation signal corresponds to starting the seat temperature reduction sub-function; the setting of long pressing the first preset time corresponds to starting the water pressure increase sub-function; the setting of quickly pressing the preset number of times corresponds to starting the water pressure reduction sub-function.
8. A toilet function setting device, characterized in that: An operating control is integrated on the toilet body, and the device includes: A first duration determination module, configured to receive a power-on signal and determine a power-on duration according to the power-on signal; a mapping table determination module, configured to, when receiving a first operation signal generated based on the operation control during the process of counting the power-on duration, determine a target function mapping table based on a signal generation time of the first operation signal and the power-on duration, wherein the target function mapping table includes a first mapping table or a second mapping table, wherein in the first mapping table, a setting of a first-category operation signal corresponds to a first-category sub-function; and in the second mapping table, a setting of a second-category operation signal corresponds to a second-category sub-function, and the setting of the first-category operation signal is the same as the setting of the corresponding second-category operation signal, but corresponds to different first-category and second-category sub-functions; A function setting module is used to determine a target sub-function from the target function mapping table according to the first operation signal, and to set the toilet function based on the target sub-function.
9. A toilet, characterized in that: The toilet comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the toilet function setting method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the toilet function setting method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Television remote controller and key reuse method thereof as well as storage medium
CN107995513A
Terminal control method, terminal and storage medium
CN111651067A
Key multifunctional input implementation method, device and system and storage medium
CN115407883A
Printer function setting method and device, printing equipment and storage medium
CN116118378A
Child lock control method of electronic equipment, control module and electronic equipment
CN119810960A