Control method, device and equipment of water heater and medium
By obtaining user behavior and ambient temperature, using scene database matching information, and automatically controlling the opening and parameter settings of the water heater, the existing water heater is solved, and intelligent usage suggestions and user experience improvement are achieved.
Patent Information
- Application Number
- CN202310723318.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2024-12-17
AI Technical Summary
Existing water heaters cannot identify users’ potential needs in advance, are inconvenient to use and are not intelligent enough, and cannot actively provide users with personalized usage suggestions.
By obtaining the user behavior information and ambient temperature of the current scene, using the scene database to match the user behavior and temperature change information, it automatically determines whether the user is prompted to turn on the water heater, and sets the program parameters of the water heater according to the scene information.
It realizes intelligent control of the water heater, can pre-identify users' potential usage needs, provide convenient usage suggestions, and enhance user experience.
Smart Images

Figure CN119146601A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electrical appliance technology, and specifically relates to a control method, device, equipment and medium for a water heater. Background Art
[0002] With the development of electrical technology, intelligent home appliances have brought convenience to people's lives. Internet-based smart home appliances are usually controlled by users who set fixed operating programs through mobile terminals.
[0003] A water heater is one of the household appliances commonly used by users. When a user needs to use it, the target heating temperature and heating speed can be preset so that the water heater can heat the water, and the user can be reminded to use it when the heating is completed. However, current water heaters cannot identify the user's potential needs in advance to remind the user to use it and provide personalized services. Users can only use it daily by setting the heating program themselves.
[0004] Therefore, the existing water heaters have the problem of being not convenient to use and not intelligent enough. Summary of the invention
[0005] In order to solve the problem that existing water heaters are not convenient to use and not intelligent enough, the present application provides a control method, device, equipment and medium for a water heater.
[0006] In a first aspect, the present application provides a method for controlling a water heater, the method comprising:
[0007] Acquire scene information of the current scene, wherein the scene information includes behavior information of the user in the current scene and / or the ambient temperature of the current scene;
[0008] Determining whether to prompt the user to turn on the water heater according to the scene information and a scene database, wherein the scene database stores scenes that can turn on the water heater;
[0009] If the user is prompted to turn on the water heater, after the water heater is turned on, the program parameters of the water heater are determined according to the scene information, and the water heater is controlled to operate based on the program parameters.
[0010] In a possible implementation, the acquiring scene information of the current scene includes:
[0011] If the current time period is a non-resting time period for the user, a video image of the indoor area is obtained;
[0012] Determining whether there is a user in the video image;
[0013] If so, obtaining the user's behavior information according to the video image, and obtaining the ambient temperature from an environmental detection device in the indoor area;
[0014] If not present, the user's behavior information is obtained from the mobile device worn by the user, and the ambient temperature is obtained according to the user's location information reported by the mobile device.
[0015] In a possible implementation, determining whether to prompt the user to turn on the water heater according to the scene information and the scene database includes:
[0016] Acquire temperature change information according to the ambient temperature, wherein the temperature change information indicates a temperature difference of a current scene within a preset period;
[0017] If the temperature difference is greater than a preset threshold, the temperature change type is obtained, and the temperature change type is heating up or cooling down;
[0018] Acquire a first user behavior set matching the temperature change type from the scenario database, wherein different temperature change types correspond to different first user behavior sets;
[0019] Determining whether the user behavior indicated by the behavior information belongs to the first user behavior set;
[0020] If yes, then it is determined to prompt the user to turn on the water heater.
[0021] In a possible implementation, if the user behavior indicated by the behavior information does not belong to the first user behavior set, or the temperature difference is less than or equal to a preset threshold, the method further includes:
[0022] Acquire a second user behavior set from the scenario database, wherein the second user behavior set is an independent behavior set, and the first user behavior set and the second user behavior set do not have an intersection;
[0023] Determining whether the user behavior indicated by the behavior information belongs to the second user behavior set;
[0024] If yes, then it is determined to prompt the user to turn on the water heater.
[0025] In a possible implementation, after the water heater is turned on, determining a program parameter of the water heater according to the scene information includes:
[0026] After the water heater is turned on, sending a query message to the user terminal, the query message is used to indicate whether to turn on the recommended mode;
[0027] If the user terminal feedback turns on the recommendation mode, then according to the target user behavior set to which the user behavior belongs, the program parameters of the water heater corresponding to the user behavior are obtained from the target user behavior set.
[0028] In a possible implementation manner, if the user terminal feedback does not enable the recommendation mode, the method further includes:
[0029] Acquire and store the user's current usage information, wherein the usage information includes the current program parameters set by the user and the associated user behavior and / or temperature change type;
[0030] The scenario database is updated according to the usage information.
[0031] In a possible implementation manner, updating the scenario database according to the usage information includes:
[0032] After a preset time period, obtaining the usage frequency of each usage information;
[0033] Acquire target usage information whose usage frequency meets preset conditions;
[0034] If the scene corresponding to the target usage information does not exist in the scene database, adding the target usage information to the scene database;
[0035] If the scenario corresponding to the target usage information exists in the scenario database, the corresponding program parameters in the scenario database are replaced by the target usage information.
[0036] In a second aspect, the present application provides a control device for a water heater, the device comprising:
[0037] An acquisition module, used to acquire scene information of a current scene, wherein the scene information includes behavior information of a user in the current scene and / or an ambient temperature of the current scene;
[0038] a processing module, configured to determine whether to prompt the user to turn on the water heater according to the scene information and a scene database, wherein the scene database stores scenes that can turn on the water heater;
[0039] The processing module is also used to, if the user is prompted to turn on the water heater, determine the program parameters of the water heater according to the scene information after the water heater is turned on, and control the water heater to operate based on the program parameters.
[0040] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0041] In a fourth aspect, the present application provides a water heater, comprising: at least one processor and a memory; wherein:
[0042] The memory stores computer-executable instructions;
[0043] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method as described in any one of the first aspects.
[0044] The control method, device, equipment and medium of the water heater provided in the present embodiment obtain user behavior information and / or ambient temperature in the current scene, that is, when it is determined that the user is indoors based on the current video image, the user behavior information in the video image is obtained, and the ambient temperature is obtained at the same time. When it is determined that the user is no longer indoors, the behavior information and ambient temperature are obtained from the user's mobile device, and the above information is matched with the data in the scene database to determine whether to prompt the user to turn on the water heater. When the user chooses to turn it on, the program parameters executed by the water heater are determined according to the scene information. This method can effectively pre-identify the user's potential usage needs and provide the user with intelligent usage suggestions. It is very convenient to use and enhances the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0046] Figure 1 The process of the water heater control method provided in the embodiment of the present application Figure 1 ;
[0047] Figure 2 The process of the water heater control method provided in the embodiment of the present application Figure 2 ;
[0048] Figure 3 The process of the water heater control method provided in the embodiment of the present application Figure 3 ;
[0049] Figure 4 A diagram of a control device for a water heater provided by an embodiment of the present invention;
[0050] Figure 5 A hardware schematic diagram of a water heater provided in an embodiment of the present invention.
[0051] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] The terms "first", "second", "third", "fourth", etc. (if any) in the specification 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 sequences other than those illustrated or described herein, for example.
[0054] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0055] With the launch and widespread use of 5G networks, the Internet is becoming more and more interoperable, and many smart devices are produced. These devices can be connected to servers through the Internet to obtain device operation data, which is conducive to improving device performance. At the same time, they can also be controlled by the user end. Through mobile terminals and other means, you can remotely control the device switch and set the required usage program. The water heater is one of the household appliances commonly used by users. When the user needs to use the water heater, the target heating temperature, heating speed and scheduled usage time can be preset in advance to allow the water heater to heat the water. When the heating is completed, the user is reminded to use it.
[0056] Although the current water heater can be set by the user to a fixed usage mode before use, it is unable to proactively identify the user's needs in a more intelligent manner, nor can it analyze a mode suitable for the user. The user can only manually control the device to serve him when he intends to use it. Usually, the use of the water heater will be affected by the user's behavior or environmental changes. These influences generally have a certain regularity, that is, under the influence of certain user behaviors and / or environmental changes, the user will often choose to use the water heater to clean himself, but the water heater cannot proactively identify these conditions and thus cannot spontaneously provide the user with usage suggestions. Therefore, there are problems of inconvenience and lack of intelligence in use.
[0057] Combined with the existing artificial intelligence technology and the increasingly wide application scope of big data, it has also brought many conveniences to people's lives. In order to solve the problem that water heaters are not convenient and intelligent enough to use, this application is based on big data technology and proposes a method for comparing and analyzing based on user behavior and indoor temperature change information using big data. It can store and calculate a large amount of unstructured data such as user behavior, and recommend to users the appropriate time to turn on the water heater and operating parameters that meet user habits based on the analysis results. This method can identify changes in user behavior and ambient temperature, and based on the large amount of stored related information, the water heater can effectively identify in advance that the current situation is in line with the user's usage habits, and thus actively provide users with usage suggestions. Users do not need to operate manually, which is very convenient.
[0058] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0059] Figure 1 The process of the water heater control method provided in the embodiment of the present application Figure 1 . like Figure 1 As shown, the method includes:
[0060] S101. Acquire scene information of a current scene, where the scene information includes behavior information of a user in the current scene and / or an ambient temperature of the current scene.
[0061] In this step, scene information of the current scene is obtained, wherein the scene may include the indoor environment where the user lives or other outdoor places, and the scene information includes the user's behavior information and / or ambient temperature. User behavior refers to the user's activity information in the current scene, including but not limited to body movements, facial expressions or walking steps. When the user is indoors, the behavior information can be captured by a behavior acquisition device set up indoors. When the user is outdoors, the user's activity information, such as the number of steps or fitness information, can be obtained through the user's mobile device, such as a mobile phone or a smart bracelet. The ambient temperature can represent the current temperature value. When indoors, the temperature can be obtained through a temperature sensor set in the environment. The sensor can convert the ambient temperature into a usable output signal and send it to the server to which the water heater belongs via the Internet. When outdoors, the temperature can be obtained through the mobile device carried by the user, for example, it can be obtained by accessing the weather display software in the user's mobile phone, or the server can obtain it based on the information of its own weather information module according to the user's location.
[0062] Exemplarily, if the current time period is a non-resting time period for the user, a video image of the indoor area is acquired;
[0063] Determining whether there is a user in the video image;
[0064] If so, obtaining the user's behavior information according to the video image, and obtaining the ambient temperature from an environmental detection device in the indoor area;
[0065] If not present, the user's behavior information is obtained from the mobile device worn by the user, and the ambient temperature is obtained according to the user's location information reported by the mobile device.
[0066] It should be noted that, to determine the user's specific non-rest time period, the user can be prompted to provide it through manual input on the mobile terminal, or it can be determined based on the behavior information obtained from the video image or the mobile device. For example, when the video image and the mobile device have not received any update information on the user's activities in a certain time period of the day, and the frequency of occurrence of this situation in this time period reaches a certain number of times, it means that this time period is the user's rest period, and the remaining time periods are the user's non-rest time periods. The acquisition device can only obtain relevant information during the user's non-rest time periods. In addition, the acquisition device can also obtain user behavior information in real time. When there is an update, it means that the user is active at this time, and the current ambient temperature is also obtained at the same time. The obtained information can be compared at any time to perform corresponding operations.
[0067] It should be noted that when indoors, the acquisition of user behavior information includes the process of extracting behavior features. In the video of one or more behaviors obtained in the video image acquisition device, various behaviors are correctly analyzed. These behaviors can indicate that the user may meet the conditions for using a water heater. The analysis process can be that the video image acquisition device inputs video data to the server, and the server performs image preprocessing on the data, detects the target to see if there is a user or determines the user's current behavior. When the user behavior is captured, the behavior features are extracted and used as the basis for comparison. When outdoors, based on the motion information in the user's mobile device, it is determined whether the user's activity is different from usual. For example, when the user's current step count has exceeded the average level, it means that the amount of exercise has increased, and the user may need to use a water heater to bathe.
[0068] S102. Determine whether to prompt the user to turn on the water heater based on the scene information and the scene database, wherein the scene database stores scenes that can turn on the water heater.
[0069] In this step, the acquired scene information is compared with the data in the database to determine whether the current scene information matches the sample data in the database. If so, it means that the user's current status meets the conditions for using the water heater. At this time, information confirming whether to turn on the water heater can be pushed to the user to remind the user to use the water heater.
[0070] It should be noted that when indoors, the comparison and analysis process of the scene information and the scene database may include, based on the behavior features determined in S101, learning the sample data in the scene database through a classifier, identifying whether the behavior features belong to the behavior in the scene database, and outputting the identification result after the identification is completed as a basis for recommending to the user whether to turn on the water heater. In addition, the ambient temperature in the scene information can be combined. When the ambient temperature and the behavior information both meet the data characteristics of the scene database, it is recommended to the user to turn on the water heater.
[0071] Specifically, the correlation between user behavior information, ambient temperature and the use of water heaters. For example, when the user is indoors, some human behaviors occur, such as scratching, which may mean that the user has been taking a bath for a long time and may need to take a bath. If the user yawns, it can be inferred that the user is tired. When outside the residential area, the user's exercise steps are higher than the average, or the user exercises outdoors for a long time, etc., it can be inferred that the amount of sweating is large. In the above situations, the user can be asked whether he needs to use the water heater. When the ambient temperature drops or rises suddenly, the user needs to warm up or take a shower due to the temperature change, and the user can also be asked whether to use the water heater.
[0072] S103. If the user is prompted to turn on the water heater, after the water heater is turned on, program parameters of the water heater are determined according to the scene information, and the water heater is controlled to operate based on the program parameters.
[0073] In this step, when the user receives the prompt information and chooses to turn on the water heater, the recommended program parameters of the water heater that match the current scene information can be determined based on the scene database, so that the water heater can run according to the program parameters.
[0074] It should be noted that the data in the scene database is obtained based on big data technology, and contains a large amount of information on the use of water heaters by different users, namely various user behavior information and / or temperature environment and the corresponding program parameters set or used by the users. A comparative analysis is performed based on the data matching the current user's scene information in the massive information and the current user's scene information, and the optimal sample data is used as output. The sample data contains program parameters suitable for recommending to the user. For example, the data matching the current scene information can be matched first in the massive data. The scene information in the database may match multiple program parameters, and can be screened according to the frequency of use of each program parameter, with the program parameter with the highest frequency of use being recommended to the current user.
[0075] The control method for the water heater provided in the present embodiment obtains the user behavior information and / or the ambient temperature in the current scene, that is, when it is determined based on the current video image that the user is indoors, the user behavior information in the video image is obtained, and the ambient temperature is obtained at the same time. When it is determined that the user is no longer indoors, the behavior information and the ambient temperature are obtained from the user's mobile device, and the above information is matched with the data in the scene database to determine whether to prompt the user to turn on the water heater. When the user chooses to turn it on, the program parameters executed by the water heater are determined according to the scene information. This method can effectively pre-identify the user's potential usage needs and provide the user with intelligent usage suggestions. It is very convenient to use and enhances the user experience.
[0076] Figure 2 The process of the water heater control method provided in the embodiment of the present application Figure 2 .like Figure 2 As shown, in this embodiment Figure 1 Based on the embodiment, the process of determining whether to prompt the user to turn on the water heater based on the scene information and the scene database is described in detail. The method includes:
[0077] S201. Acquire temperature change information according to the ambient temperature, where the temperature change information represents a temperature difference of a current scene within a preset period.
[0078] In this step, the starting temperature and the final temperature within the preset period are determined according to the temperature values obtained in different time periods, and the temperature difference within the preset period is determined to reflect the temperature change. The preset period can be one day or a more specific time period. For example, in areas with a large temperature difference between morning and evening, the temperature can be obtained once in the morning and once in the evening. If the temperature difference is large, the user's body perception is more intense, which is manifested as a large temperature difference within a period and a temperature peak in a certain period, making the user feel very cold or hot, and a bath may be needed at this time.
[0079] S202, determine whether the temperature difference is greater than a preset threshold, if so, execute S203, if not, execute S207.
[0080] In this step, the temperature usually fluctuates, and the human body does not perceive such general fluctuations. However, due to reasons such as unpredictable weather, the ambient temperature may fluctuate greatly. At this time, the human body perceives it strongly, and it is judged that the user may need to use a water heater. A preset threshold can be set based on experience. When the temperature difference is greater than the preset threshold, it indicates that the user may need to take a shower.
[0081] S203: Obtain a temperature change type, where the temperature change type is heating up or cooling down.
[0082] S204: Acquire a first user behavior set matching the temperature change type from the scenario database, wherein different temperature change types correspond to different first user behavior sets.
[0083] Specifically, users may exhibit some related human behaviors when the temperature rises or drops significantly. For example, when the temperature rises significantly, it may be hotter, and users may scratch, use fans to cool down, drink water more often, etc. The scene database is classified based on recognition. When the above behaviors occur and the temperature change type matches, they are classified as user behavior sets under the temperature change type, which can indicate correlation. Users are accustomed to using different heating temperatures under different temperature change types, so more accurate matching can be achieved when recommending program parameters.
[0084] S205, determining whether the user behavior indicated by the behavior information belongs to the first user behavior set, if yes, executing S206, if no, executing S207;
[0085] S206, prompting the user to turn on the water heater;
[0086] Specifically, under the premise that the temperature change type is met at this time, determine whether the user behavior information obtained at this time belongs to behavior related to temperature. If it does, it can be determined that the user may need to use the water heater, and a prompt message is sent to the user at this time; if the user's behavior information at this time does not belong to behavior related to temperature, continue to analyze the user behavior separately.
[0087] S207: Acquire a second user behavior set from the scenario database, wherein the second user behavior set is an independent behavior set, and there is no intersection between the first user behavior set and the second user behavior set.
[0088] In this step, the current user information is matched with the second user behavior set in the database. The second user behavior set can represent some user behaviors that are not related to the ambient temperature. For example, users exercise indoors and outdoors. This type of behavior is not affected by temperature, but exercise will cause a lot of sweating. At this time, the user may also need to use a water heater. This step can effectively identify this type of behavior.
[0089] S208. Determine whether the user behavior indicated by the behavior information belongs to the second user behavior set; if so, execute S209; if not, the process ends.
[0090] S209, determining to prompt the user to turn on the water heater.
[0091] Specifically, if the user behavior information belongs to the second user behavior set, it means that the user may need to take a shower, and a message is sent to the user to prompt him to turn on the water heater; if the behavior information does not belong to the second user behavior set, it means that the behavior has nothing to do with the user's use of the water heater, and there is no need to send a prompt message; the method of sending the prompt message is not limited here. For example, it can be pushed to the user's mobile device. If the user is at home, the user's instructions can also be obtained through voice interaction.
[0092] The water heater control method provided in this embodiment obtains the ambient temperature and behavior information of the scene in which the user is located. If the difference in ambient temperature meets the preset threshold and the behavior information belongs to the behavior of the temperature change type, a message prompting the user to use the water heater is sent. When the temperature change and the behavior are not correlated, only the behavior is analyzed and matched. This method associates the temperature change and the behavior, and can more accurately determine the user's usage needs.
[0093] Figure 3 The process of the water heater control method provided in the embodiment of the present application Figure 3 .like Figure 3 As shown, in this embodiment Figure 2 Based on the embodiment, when the user chooses to turn on the water heater, the process of feeding back the recommended mode to the user is described in detail. The method includes:
[0094] S301. After the water heater is turned on, a query message is sent to a user terminal, where the query message is used to indicate whether to turn on a recommended mode.
[0095] In this step, after the user chooses to turn on the water heater, the water heater needs to determine the execution parameter information, so it needs to ask the user whether to turn on the recommended mode. The recommended mode includes all the parameters that the user needs to set, so when the user selects the recommended mode, the user does not need to make any further settings.
[0096] S302: If the user terminal feedback indicates that the recommendation mode is turned on, then according to the target user behavior set to which the user behavior belongs, a program parameter of the water heater corresponding to the user behavior is obtained from the target user behavior set.
[0097] In this step, when the user selects the recommended mode, the corresponding program parameters are obtained from the target user behavior set matched in the database according to the user behavior, and the program parameters are used as the operating parameters of the water heater. Exemplarily, the program parameters may include the target heating temperature, heating speed or water flow rate, etc. In some possible embodiments, insufficient cleanliness in the water heater may also cause the user to feel uncomfortable and thus exhibit some behaviors. At this time, the program parameters may also include turning on the self-cleaning function so that the water heater is provided to the user for use after cleaning.
[0098] S303: If the user terminal feedback indicates that the recommended mode is not to be turned on, obtain and store the user's usage information, where the usage information includes the current program parameters set by the user and the associated user behavior and / or temperature change type.
[0099] S304: Update the scenario database according to the usage information.
[0100] Specifically, when the user chooses to turn on the water heater but does not use the recommended mode, the server can collect the parameter information used by the user, and associate the parameter information with the scene information before the user turns on the water heater to form the user's own usage information. When the frequency of use of this usage information is high, the usage information is updated to the scene database and replaces the original information.
[0101] Exemplarily, after a preset time period, the usage frequency of each usage information is obtained;
[0102] Acquire target usage information whose usage frequency meets preset conditions;
[0103] If the scene corresponding to the target usage information does not exist in the scene database, adding the target usage information to the scene database;
[0104] If the scenario corresponding to the target usage information exists in the scenario database, the corresponding program parameters in the scenario database are replaced by the target usage information.
[0105] The water heater control method provided in this embodiment recommends suitable water heater program parameters to the user through the user's scene information, making it more convenient for the user to use. When the user does not select the recommended mode, the parameter information set by the user and the scene information before use are associated and updated to the database or the original information is replaced. This method intelligently records the user's usage habits, efficiently provides the user with personalized usage suggestions, and enhances the user experience.
[0106] Figure 4 A control device diagram of a water heater provided in an embodiment of the present invention, such as Figure 4 As shown, the control device 40 includes: an acquisition module 401 and a processing module 402 .
[0107] An acquisition module 401 is used to acquire scene information of a current scene, wherein the scene information includes behavior information of a user in the current scene and / or an ambient temperature of the current scene;
[0108] A processing module 402 is used to determine whether to prompt the user to turn on the water heater according to the scene information and a scene database, wherein the scene database stores scenes that can turn on the water heater;
[0109] The processing module 402 is also used to, if the user is prompted to turn on the water heater, determine the program parameters of the water heater according to the scene information after the water heater is turned on, and control the water heater to operate based on the program parameters.
[0110] Figure 5 The hardware diagram of the water heater provided by the embodiment of the present invention is shown in FIG. Figure 5 As shown, the water heater 50 provided in this embodiment includes: at least one processor 501 and a memory 502. The device 50 also includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.
[0111] In a specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the above method.
[0112] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0113] In the above Figure 5 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0114] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0115] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0116] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method described above is implemented.
[0117] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0118] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0119] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0120] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0121] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0122] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0123] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0124] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for controlling a water heater, characterized in that: The method comprises: Acquire scene information of the current scene, wherein the scene information includes behavior information of the user in the current scene and / or the ambient temperature of the current scene; Determining whether to prompt the user to turn on the water heater according to the scene information and a scene database, wherein the scene database stores scenes that can turn on the water heater; If the user is prompted to turn on the water heater, after the water heater is turned on, the program parameters of the water heater are determined according to the scene information, and the water heater is controlled to operate based on the program parameters.
2. The method according to claim 1, characterized in that The step of obtaining scene information of the current scene includes: If the current time period is a non-resting time period for the user, a video image of the indoor area is obtained; Determining whether there is a user in the video image; If so, obtaining the user's behavior information according to the video image, and obtaining the ambient temperature from an environmental detection device in the indoor area; If not present, the user's behavior information is obtained from the mobile device worn by the user, and the ambient temperature is obtained according to the user's location information reported by the mobile device.
3. The method according to claim 1, characterized in that The determining, according to the scene information and the scene database, whether to prompt the user to turn on the water heater includes: Acquire temperature change information according to the ambient temperature, wherein the temperature change information indicates a temperature difference of a current scene within a preset period; If the temperature difference is greater than a preset threshold, the temperature change type is obtained, and the temperature change type is heating or cooling; Acquire a first user behavior set matching the temperature change type from the scenario database, wherein different temperature change types correspond to different first user behavior sets; Determining whether the user behavior indicated by the behavior information belongs to the first user behavior set; If yes, then it is determined to prompt the user to turn on the water heater.
4. The method according to claim 3, characterized in that If the user behavior indicated by the behavior information does not belong to the first user behavior set, or the temperature difference is less than or equal to a preset threshold, the method further includes: Acquire a second user behavior set from the scenario database, wherein the second user behavior set is an independent behavior set, and the first user behavior set and the second user behavior set do not have an intersection; Determining whether the user behavior indicated by the behavior information belongs to the second user behavior set; If yes, then it is determined to prompt the user to turn on the water heater.
5. The method according to claim 4, characterized in that After the water heater is turned on, determining the program parameters of the water heater according to the scene information includes: After the water heater is turned on, sending a query message to the user terminal, the query message is used to indicate whether to turn on the recommended mode; If the user terminal feedback turns on the recommendation mode, then according to the target user behavior set to which the user behavior belongs, the program parameters of the water heater corresponding to the user behavior are obtained from the target user behavior set.
6. The method according to claim 5, characterized in that If the user terminal feedback does not enable the recommendation mode, the method further includes: Acquire and store the user's current usage information, wherein the usage information includes the current program parameters set by the user and the associated user behavior and / or temperature change type; The scenario database is updated according to the usage information.
7. The method according to claim 6, characterized in that The updating of the scene database according to the usage information includes: After a preset time period, obtaining the usage frequency of each usage information; Acquire target usage information whose usage frequency meets preset conditions; If the scene corresponding to the target usage information does not exist in the scene database, adding the target usage information to the scene database; If the scenario corresponding to the target usage information exists in the scenario database, the corresponding program parameters in the scenario database are replaced by the target usage information.
8. A control device for a water heater, characterized in that: The device comprises: An acquisition module, used to acquire scene information of a current scene, wherein the scene information includes behavior information of a user in the current scene and / or an ambient temperature of the current scene; a processing module, configured to determine whether to prompt the user to turn on the water heater according to the scene information and a scene database, wherein the scene database stores scenes that can turn on the water heater; The processing module is also used to, if the user is prompted to turn on the water heater, determine the program parameters of the water heater according to the scene information after the water heater is turned on, and control the water heater to operate based on the program parameters.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
10. A water heater, characterized in that: include: at least one processor and memory; wherein, The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 7.
