Control Method, System, Electronic Device and Storage Medium of Water Heater
By detecting the user's weight value and establishing a matching relationship with the set water outlet temperature and flow rate, the problem of inconvenient operation of the water heater is solved, and the water outlet parameters are automatically adjusted, which improves the user experience.
Patent Information
- Application Number
- CN202310624993.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2043-05-30
AI Technical Summary
When using the water heater, it is inconvenient to manually adjust the water outlet temperature and water outlet flow, and the experience is poor.
By detecting the weight value of the target user, it is determined whether there is a weight value in the database. If not, the matching relationship between the set water outlet temperature and/or the set water outlet flow set by the target user is obtained and stored, and established and stored in the database or cache, so that the corresponding set value can be obtained directly from the database to control the operation of the water heater.
Automatically adjusting the water heater outlet temperature and water flow based on weight value is realized, avoiding the user's manual settings every time and improving the user experience.
Smart Images

Figure CN116518563B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water heater control, and in particular to a water heater control method, system, device and storage medium. Background Art
[0002] Different groups of people use different water temperatures when bathing. For example, the elderly, children, men, and women may adjust the water heater to different temperatures to achieve a better bathing experience. However, users adjusting the water temperature and flow rate of the water heater themselves is inconvenient and has a poor user experience. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to overcome the defects in the prior art of users manually adjusting the water outlet temperature and water outlet flow of the water heater when using the water heater, which is inconvenient to operate and has a poor user experience, and to provide a control method, system, device and storage medium for the water heater.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] A first aspect of the present invention provides a control method for a water heater, the control method comprising:
[0006] Detect the weight value of the target user;
[0007] Determine whether the weight value exists in the database; if not, obtain the set water outlet temperature and / or set water outlet flow rate of the water heater set by the target user;
[0008] Establishing a matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate;
[0009] The matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate is stored in the database or cache.
[0010] Preferably, the control method further includes:
[0011] If it is determined that the weight value exists in the database, obtaining the target water outlet temperature and / or target water outlet flow rate that matches the weight value and is stored in the database;
[0012] Determining whether the target outlet water temperature and / or the target outlet water flow rate is adjusted within a preset time, and if so, obtaining the adjusted outlet water temperature and / or the adjusted outlet water flow rate;
[0013] determining whether the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow rate has been used is greater than a preset number of times; and if so, deleting the matching relationship between the weight value and the target water outlet temperature and / or the target water outlet flow rate from the database;
[0014] Establishing a matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate;
[0015] The matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate is stored in the database.
[0016] Preferably, if it is determined that the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow rate is used is not greater than the preset number of times, the matching relationship between the weight value and the target water outlet temperature and / or the target water outlet flow rate is retained in the database, and the matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate is stored in the cache.
[0017] Preferably, the step of storing the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database or cache includes:
[0018] Determine whether the number of times the weight value is recognized is greater than or equal to a preset number of times. If not, store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow in the cache; if so, determine whether the set temperature and / or set water outlet flow of the water heater corresponding to the weight value recognized each time are consistent. If they are consistent, store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow in the database; if they are inconsistent, store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow in the cache.
[0019] A second aspect of the present invention provides a control system for a water heater, the control system comprising a detection module, a first judgment module, a first acquisition module, a first establishment module and a first storage module;
[0020] The detection module is used to detect the weight value of the target user;
[0021] The first determining module is used to determine whether the weight value exists in the database, and if not, call the first obtaining module;
[0022] The first acquisition module is used to acquire the set water outlet temperature and / or set water outlet flow of the water heater set by the target user;
[0023] The first establishing module is used to establish a matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate;
[0024] The first storage module is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database or cache.
[0025] Preferably, the control system further comprises a second acquisition module, a second judgment module, a third acquisition module, a third judgment module, a clearing module, a second establishing module and a second storage module;
[0026] The second acquisition module is configured to acquire a target water outlet temperature and / or a target water outlet flow rate that matches the weight value and is stored in the database if it is determined that the weight value exists in the database;
[0027] The second judgment module is used to judge whether to adjust the target water outlet temperature and / or the target water outlet flow rate within a preset time, and if so, call the third acquisition module;
[0028] The third acquisition module is used to obtain the adjusted water outlet temperature and / or the adjusted water outlet flow rate;
[0029] The third judgment module is used to judge whether the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow rate is used is greater than a preset number of times, and if so, call the clearing module;
[0030] The clearing module is used to clear the matching relationship between the weight value and the target outlet water temperature and / or the target outlet water flow rate from the database;
[0031] The second establishing module is used to establish a matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate;
[0032] The second storage module is used to store the matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate in the database.
[0033] Preferably, the control system further includes a third storage module;
[0034] The third storage module is used to retain the matching relationship between the weight value and the target water outlet temperature and / or the target water outlet flow in the database if it is determined that the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow is used is not greater than the preset number of times, and store the matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow in the cache.
[0035] Preferably, the first storage module includes a first judgment unit, a first storage unit, a second judgment unit, a second storage unit and a third storage unit;
[0036] The first judgment unit is used to judge whether the number of times the weight value is recognized is greater than or equal to the preset number of times, and if not, call the first storage unit; if so, call the second judgment unit;
[0037] The first storage unit is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache;
[0038] The second judgment unit is used to judge whether the set temperature and / or set water flow rate of the water heater corresponding to the weight value identified each time are consistent, and if they are consistent, call the second storage unit; if they are inconsistent, call the third storage unit;
[0039] The second storage unit is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database;
[0040] The third storage unit is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache.
[0041] A third aspect of the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and configured to run on the processor, wherein the processor implements the water heater control method as described in the first aspect when executing the computer program.
[0042] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the water heater control method as described in the first aspect.
[0043] On the basis of conforming to the common sense in this field, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present invention.
[0044] The positive progress effect of the present invention is:
[0045] When the present invention determines that the detected weight value of the target user does not exist in the database, a matching relationship corresponding to the target user's weight value is established according to the set water outlet temperature and / or set water outlet flow of the water heater set by the target user when using the water heater, and the matching relationship between the target user's weight value and the set water outlet temperature and / or set water outlet flow is stored in the database or cache, so that when the target user uses the water heater again, the set water outlet temperature and / or set water outlet flow corresponding to the target user's weight value can be directly obtained from the database to control the operation of the water heater, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a first flow chart of the water heater control method according to embodiment 1 of the present invention.
[0047] Figure 2 This is a second flow chart of the water heater control method according to embodiment 1 of the present invention.
[0048] Figure 3 This is a module diagram of a control system for a water heater according to embodiment 2 of the present invention.
[0049] Figure 4 This is a structural diagram of an electronic device for implementing a water heater control method according to embodiment 3 of the present invention. DETAILED DESCRIPTION
[0050] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0051] Example 1
[0052] This embodiment provides a method for controlling a water heater, such as Figure 1 As shown, the control method includes:
[0053] Step 101: Detect the weight of the target user;
[0054] In this embodiment, a weight detection module can be added to the bathroom floor to detect the weight values of different people.
[0055] Step 102: Determine whether there is a weight value in the database. If not, proceed to step 103.
[0056] Step 103: Obtain the set water outlet temperature and / or set water outlet flow rate of the water heater set by the target user;
[0057] Step 104: establishing a matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate;
[0058] In this embodiment, different water outlet temperatures and / or water outlet flow rates are set for different people when bathing to match the weight of the person.
[0059] Step 105: Store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in a database or cache.
[0060] During the specific implementation process, different people's weight values will be obtained when they take a bath. For example, when the target user takes a bath, the weight value of the target user is detected by the weight detection module. It is first determined whether there is a weight value of the target user in the database. If not, it means that the target user is a new user, that is, the target user has not used the water heater before. When the user uses the water heater for the first time, the user will set the set water outlet temperature and / or set water outlet flow of the water heater according to his or her own habits. At this time, the system obtains the set water outlet temperature and / or set water outlet flow set by the target user; compares the target user's weight value with the set water outlet temperature and / or set water outlet flow set by the target user. A corresponding matching relationship is established, and the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow is stored in a database or cache, so that when a user with the same or similar weight value uses the water heater in the future, the set water outlet temperature and / or the set water outlet flow that matches the weight value is directly obtained from the database or cache based on the weight value, and then the water heater operation is controlled based on the set water outlet temperature and / or the set water outlet flow, thereby realizing automatic adjustment of the water outlet temperature and / or water outlet flow of the water heater based on the weight value, avoiding the situation where the user needs to manually set or adjust the water outlet temperature and / or water outlet flow of the water heater every time the water heater is used, thereby improving the user experience.
[0061] As an optional implementation, Figure 2 As shown, the control method also includes:
[0062] If it is determined that the weight value exists in the database, step 106 is executed;
[0063] Step 106: Obtain the target water outlet temperature and / or target water outlet flow rate that matches the weight value stored in the database;
[0064] Step 107: Determine whether the target outlet water temperature and / or target outlet water flow rate is adjusted within the preset time. If so, execute step 108; if not, execute step 114;
[0065] In this embodiment, the preset time is set according to actual conditions. For example, the preset time can be set to 5 minutes, or it can be set to other values, which are not specifically limited here.
[0066] Step 108: Obtain the adjusted outlet water temperature and / or the adjusted outlet water flow rate;
[0067] Step 109: Determine whether the number of times the adjusted outlet water temperature and / or adjusted outlet water flow rate is used is greater than the preset number of times. If so, execute step 110; if not, execute step 113;
[0068] In this embodiment, the preset number of uses is set according to actual conditions and is not specifically limited here.
[0069] Step 110: Clear the matching relationship between the weight value and the target outlet water temperature and / or target outlet water flow rate from the database;
[0070] In this embodiment, while clearing the matching relationship between the weight value and the target outlet water temperature and / or target outlet water flow rate from the database, the number of recognition times of the weight value is also cleared.
[0071] Step 111: establishing a matching relationship between the weight value and the adjusted outlet water temperature and / or the adjusted outlet water flow rate;
[0072] Step 112: storing the matching relationship between the weight value and the adjusted outlet water temperature and / or the adjusted outlet water flow rate in a database;
[0073] Step 113: retain the matching relationship between the weight value and the target outlet water temperature and / or target outlet water flow in the database, and store the matching relationship between the weight value and the adjusted outlet water temperature and / or adjusted outlet water flow in the cache.
[0074] Step 114: Match the target water outlet temperature and / or target water outlet flow rate corresponding to the target user's weight value.
[0075] As an optional implementation, step 105 includes:
[0076] Step 1051: Determine whether the number of times the weight value has been recognized is greater than or equal to the preset number of times. If not, execute step 1052; if so, execute step 1053.
[0077] In this embodiment, the preset number of recognition times is set according to actual conditions. For example, the preset number of recognition times can be set to 3 times, or can be set to other values, which are not specifically limited here.
[0078] Step 1052: storing the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in a cache;
[0079] Step 1053: Determine whether the set temperature and / or set water flow rate of the water heater corresponding to each identified weight value are consistent. If they are consistent, execute step 1054; if not, execute step 1055;
[0080] Step 1054: storing the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in a database;
[0081] Step 1055: Store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache.
[0082] When this embodiment determines that the detected weight value of the target user does not exist in the database, a matching relationship corresponding to the target user's weight value is established based on the set water outlet temperature and / or set water outlet flow rate set by the target user when using the water heater, and the matching relationship between the target user's weight value and the set water outlet temperature and / or set water outlet flow rate is stored in the database or cache, so that when the target user uses the water heater again, the set water outlet temperature and / or set water outlet flow rate corresponding to the target user's weight value can be directly obtained from the database to control the operation of the water heater, thereby improving the user experience.
[0083] Example 2
[0084] This embodiment provides a water heater control system, such as Figure 3 As shown, the control system includes a detection module 21, a first judgment module 22, a first acquisition module 23, a first establishment module 24 and a first storage module 25;
[0085] The detection module 21 is used to detect the weight value of the target user;
[0086] In this embodiment, a weight detection module can be added to the bathroom floor to detect the weight values of different people.
[0087] The first determination module 22 is used to determine whether the weight value exists in the database, and if not, call the first acquisition module 23;
[0088] The first acquisition module 23 is used to obtain the set water outlet temperature and / or set water outlet flow of the water heater set by the target user;
[0089] The first establishing module 24 is used to establish a matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate;
[0090] In this embodiment, different water outlet temperatures and / or water outlet flow rates are set for different people when bathing to match the weight of the person.
[0091] The first storage module 25 is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in a database or cache.
[0092] During the specific implementation process, different people's weight values will be obtained when they take a bath. For example, when the target user takes a bath, the weight value of the target user is detected by the weight detection module. It is first determined whether there is a weight value of the target user in the database. If not, it means that the target user is a new user, that is, the target user has not used the water heater before. When the user uses the water heater for the first time, the user will set the set water outlet temperature and / or set water outlet flow of the water heater according to his or her own habits. At this time, the system obtains the set water outlet temperature and / or set water outlet flow set by the target user; compares the target user's weight value with the set water outlet temperature and / or set water outlet flow set by the target user. A corresponding matching relationship is established, and the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow is stored in a database or cache, so that when a user with the same or similar weight value uses the water heater in the future, the set water outlet temperature and / or the set water outlet flow that matches the weight value is directly obtained from the database or cache based on the weight value, and then the water heater operation is controlled based on the set water outlet temperature and / or the set water outlet flow, thereby realizing automatic adjustment of the water outlet temperature and / or water outlet flow of the water heater based on the weight value, avoiding the situation where the user needs to manually set or adjust the water outlet temperature and / or water outlet flow of the water heater every time the water heater is used, thereby improving the user experience.
[0093] As an optional implementation, Figure 3 As shown, the control system further includes a second acquisition module 26, a second judgment module 27, a third acquisition module 28, a third judgment module 29, a clearing module 291, a second establishing module 292, a second storage module 293 and a third storage module 294;
[0094] The second acquisition module 26 is configured to acquire the target water outlet temperature and / or target water outlet flow rate that matches the weight value and is stored in the database if it is determined that the weight value exists in the database;
[0095] The second judgment module 27 is used to determine whether to adjust the target water outlet temperature and / or target water outlet flow rate within the preset time. If so, the third acquisition module 28 is called; if not, the second acquisition module 26 is further used to match the target water outlet temperature and / or target water outlet flow rate corresponding to the weight value of the target user.
[0096] In this embodiment, the preset time is set according to actual conditions. For example, the preset time can be set to 5 minutes, or it can be set to other values, which are not specifically limited here.
[0097] The third acquisition module 28 is used to obtain the adjusted outlet water temperature and / or the adjusted outlet water flow rate;
[0098] The third judgment module 29 is used to judge whether the number of times the adjusted outlet water temperature and / or the adjusted outlet water flow rate is used is greater than the preset number of times. If so, the clearing module 291 is called; if not, the third storage module 294 is called;
[0099] In this embodiment, the preset number of uses is set according to actual conditions and is not specifically limited here.
[0100] The clearing module 291 is used to clear the matching relationship between the weight value and the target outlet water temperature and / or the target outlet water flow rate from the database;
[0101] In this embodiment, while clearing the matching relationship between the weight value and the target outlet water temperature and / or target outlet water flow rate from the database, the number of recognition times of the weight value is also cleared.
[0102] The second establishing module 292 is used to establish a matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate;
[0103] The second storage module 293 is used to store the matching relationship between the weight value and the adjusted outlet water temperature and / or the adjusted outlet water flow rate in a database.
[0104] The third storage module 294 is used to retain the matching relationship between the weight value and the target water outlet temperature and / or target water outlet flow in the database, and store the matching relationship between the weight value and the adjusted water outlet temperature and / or adjusted water outlet flow in the cache.
[0105] As an optional implementation, Figure 3 As shown, the first storage module 25 includes a first judgment unit 251, a first storage unit 252, a second judgment unit 253, a second storage unit 254 and a third storage unit 255;
[0106] The first judgment unit 251 is used to judge whether the number of times the weight value is recognized is greater than or equal to the preset number of times. If not, the first storage unit 252 is called; if so, the second judgment unit 253 is called;
[0107] In this embodiment, the preset number of recognition times is set according to actual conditions. For example, the preset number of recognition times can be set to 3 times, or can be set to other values, which are not specifically limited here.
[0108] The first storage unit 252 is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache;
[0109] The second judgment unit 253 is used to judge whether the set temperature and / or set water flow rate of the water heater corresponding to each identified weight value are consistent. If they are consistent, the second storage unit 254 is called; if they are inconsistent, the third storage unit 255 is called;
[0110] The second storage unit 254 is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database;
[0111] The third storage unit 255 is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache.
[0112] When this embodiment determines that the detected weight value of the target user does not exist in the database, a matching relationship corresponding to the target user's weight value is established based on the set water outlet temperature and / or set water outlet flow rate set by the target user when using the water heater, and the matching relationship between the target user's weight value and the set water outlet temperature and / or set water outlet flow rate is stored in the database or cache, so that when the target user uses the water heater again, the set water outlet temperature and / or set water outlet flow rate corresponding to the target user's weight value can be directly obtained from the database to control the operation of the water heater, thereby improving the user experience.
[0113] Example 3
[0114] Figure 4 This is a schematic diagram of the structure of an electronic device provided in Example 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and configured to run on the processor. When the processor executes the program, the water heater control method of Example 1 is implemented. Figure 4 The electronic device 30 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present invention.
[0115] like Figure 4 As shown, the electronic device 30 may be a general-purpose computing device, such as a server device. Components of the electronic device 30 may include, but are not limited to, the at least one processor 31, the at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0116] The bus 33 includes a data bus, an address bus, and a control bus.
[0117] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .
[0118] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0119] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32 , such as the water heater control method of embodiment 1 of the present invention.
[0120] The electronic device 30 may also communicate with one or more external devices 34 (e.g., a keyboard, a pointing device, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model generating electronic device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. Figure 4 As shown, the network adapter 36 communicates with other modules of the model-generated electronic device 30 via the bus 33. It should be understood that, although not shown in the figures, other hardware and / or software modules may be used in conjunction with the model-generated electronic device 30, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems.
[0121] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above may be embodied in a single unit / module. Conversely, the features and functions of a single unit / module described above may be further divided and embodied by multiple units / modules.
[0122] Example 4
[0123] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the water heater control method provided in Embodiment 1 is implemented.
[0124] The readable storage medium may include, but is not limited to, a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0125] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the water heater control method described in Example 1.
[0126] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on the remote device.
[0127] Although specific embodiments of the present invention have been described above, those skilled in the art will appreciate that these are merely illustrative and that the scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, and such changes and modifications are intended to fall within the scope of the present invention.
Claims
1. A method for controlling a water heater, characterized in that: The control method includes: Detect the weight value of the target user; Determine whether the weight value exists in the database; if not, obtain the set water outlet temperature and / or set water outlet flow rate of the water heater set by the target user; Establishing a matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate; Storing the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database or cache; The step of storing the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database or cache includes: Determine whether the number of times the weight value is recognized is greater than or equal to a preset number of times. If not, store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow in the cache; if so, determine whether the set temperature and / or set water outlet flow of the water heater corresponding to the weight value recognized each time are consistent. If they are consistent, store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow in the database; if they are inconsistent, store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow in the cache.
2. The water heater control method according to claim 1, wherein: The control method further includes: If it is determined that the weight value exists in the database, obtaining the target water outlet temperature and / or target water outlet flow rate that matches the weight value and is stored in the database; Determining whether the target outlet water temperature and / or the target outlet water flow rate is adjusted within a preset time, and if so, obtaining the adjusted outlet water temperature and / or the adjusted outlet water flow rate; determining whether the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow rate has been used is greater than a preset number of times; and if so, deleting the matching relationship between the weight value and the target water outlet temperature and / or the target water outlet flow rate from the database; Establishing a matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate; The matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate is stored in the database.
3. The water heater control method according to claim 2, wherein: If it is determined that the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow rate is used is not greater than the preset number of times, the matching relationship between the weight value and the target water outlet temperature and / or the target water outlet flow rate is retained in the database, and the matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate is stored in the cache.
4. A water heater control system, characterized in that: The control system includes a detection module, a first judgment module, a first acquisition module, a first establishment module and a first storage module; The detection module is used to detect the weight value of the target user; The first determining module is used to determine whether the weight value exists in the database, and if not, call the first obtaining module; The first acquisition module is used to acquire the set water outlet temperature and / or set water outlet flow of the water heater set by the target user; The first establishing module is used to establish a matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate; The first storage module is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database or cache; The first storage module includes a first judgment unit, a first storage unit, a second judgment unit, a second storage unit and a third storage unit; The first judgment unit is used to judge whether the number of times the weight value is recognized is greater than or equal to the preset number of times, and if not, call the first storage unit; if so, call the second judgment unit; The first storage unit is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache; The second judgment unit is used to judge whether the set temperature and / or set water flow rate of the water heater corresponding to the weight value identified each time are consistent, and if they are consistent, call the second storage unit; if they are inconsistent, call the third storage unit; The second storage unit is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the database; The third storage unit is used to store the matching relationship between the target user's weight value and the set water outlet temperature and / or the set water outlet flow rate in the cache.
5. The water heater control system according to claim 4, wherein: The control system further includes a second acquisition module, a second judgment module, a third acquisition module, a third judgment module, a clearing module, a second establishing module and a second storage module; The second acquisition module is configured to acquire a target water outlet temperature and / or a target water outlet flow rate that matches the weight value and is stored in the database if it is determined that the weight value exists in the database; The second judgment module is used to judge whether to adjust the target water outlet temperature and / or the target water outlet flow rate within a preset time, and if so, call the third acquisition module; The third acquisition module is used to obtain the adjusted water outlet temperature and / or the adjusted water outlet flow rate; The third judgment module is used to judge whether the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow rate is used is greater than a preset number of times, and if so, call the clearing module; The clearing module is used to clear the matching relationship between the weight value and the target outlet water temperature and / or the target outlet water flow rate from the database; The second establishing module is used to establish a matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate; The second storage module is used to store the matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow rate in the database.
6. The water heater control system according to claim 5, characterized in that: The control system further includes a third storage module; The third storage module is used to retain the matching relationship between the weight value and the target water outlet temperature and / or the target water outlet flow in the database if it is determined that the number of times the adjusted water outlet temperature and / or the adjusted water outlet flow is used is not greater than the preset number of times, and store the matching relationship between the weight value and the adjusted water outlet temperature and / or the adjusted water outlet flow in the cache.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and configured to run on the processor, wherein: When the processor executes the computer program, the control method of the water heater according to any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method of the water heater according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Control method and device of water heater
CN104482655A
Temperature control method and device for water heater, water heater and water heater system
CN106322772A
Water outlet control method and device of water outlet equipment, electronic equipment and storage medium
CN115061378A