CN112113342A - Water heater and method, device and machine readable storage medium thereof - Google Patents

Water heater and method, device and machine readable storage medium thereof Download PDF

Info

Publication number
CN112113342A
CN112113342A CN202010866169.0A CN202010866169A CN112113342A CN 112113342 A CN112113342 A CN 112113342A CN 202010866169 A CN202010866169 A CN 202010866169A CN 112113342 A CN112113342 A CN 112113342A
Authority
CN
China
Prior art keywords
user
water heater
processor
mobile terminal
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010866169.0A
Other languages
Chinese (zh)
Inventor
黄健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Original Assignee
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd filed Critical Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Priority to CN202010866169.0A priority Critical patent/CN112113342A/en
Publication of CN112113342A publication Critical patent/CN112113342A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24HFLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
    • F24H9/00Details
    • F24H9/20Arrangement or mounting of control or safety devices
    • F24H9/2007Arrangement or mounting of control or safety devices for water heaters
    • F24H9/2035Arrangement or mounting of control or safety devices for water heaters using fluid fuel
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V33/00Structural combinations of lighting devices with other articles, not otherwise provided for
    • F21V33/0004Personal or domestic articles
    • F21V33/0044Household appliances, e.g. washing machines or vacuum cleaners
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21WINDEXING SCHEME ASSOCIATED WITH SUBCLASSES F21K, F21L, F21S and F21V, RELATING TO USES OR APPLICATIONS OF LIGHTING DEVICES OR SYSTEMS
    • F21W2131/00Use or application of lighting devices or systems not provided for in codes F21W2102/00-F21W2121/00
    • F21W2131/30Lighting for domestic or personal use

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a water heater, a method and a device thereof and a machine readable storage medium. The method comprises the following steps: acquiring the position of a user; determining the output configuration of the water heater for voice broadcast according to the position; wherein the output configuration comprises at least one of: volume, timbre, frequency of voice broadcast. Through the mode, the audio file can be configured in volume, timbre and frequency under the condition that the user is far away from the water heater, and if the volume of the sound generating equipment is regulated and controlled according to the position of the user, the user can hear the occurring situation more clearly. Therefore, the pertinence and the effectiveness of broadcasting are improved, the convenience of a user is improved, the use experience of the user is improved, and the probability of accidents of the user is reduced.

Description

Water heater and method, device and machine readable storage medium thereof
Technical Field
The invention relates to the technical field of kitchen and bathroom electrical appliances, in particular to a water heater, a method and a device thereof, and a machine readable storage medium.
Background
At present, gas water heaters have become common household appliances in households. The existing gas water heater can adopt some monitoring devices to ensure the use safety of users in use, for example, an electric leakage prompting lamp is adopted under the condition of electric leakage, or a buzzer and other means are adopted to prompt the users under the condition of gas leakage.
However, in the actual use process, the gas water heater is usually disposed in a relatively open area in a home, such as a balcony or an outer wall of a kitchen, and at this time, there is a possibility that a user cannot see or hear the prompt given by the monitoring device for the first time, for example, when the gas leaks, if the buzzer is far away from the user, the user is not alerted in a short time, and an accident may occur.
Disclosure of Invention
To solve the above technical problems, an object of the present invention is to provide a water heater, a method, an apparatus, and a machine-readable storage medium thereof.
To achieve the above object, in a first aspect of the present invention, a location of a user is acquired; determining the output configuration of the water heater for voice broadcast according to the position; wherein the output configuration comprises at least one of: volume, timbre, frequency of voice broadcast.
In an embodiment of the present application, acquiring the location of the user includes: acquiring the signal strength transmitted to a wireless device by a mobile terminal from the wireless device which performs wireless communication with the mobile terminal of a user; the location is determined based on the signal strength.
In an embodiment of the present application, acquiring the location of the user includes: acquiring a transmission delay of a data packet transmitted from a mobile terminal to a wireless device from the wireless device in wireless communication with the mobile terminal of a user; the position is determined based on the transmission delay.
In an embodiment of the application, the output configuration comprises volume, and the method further comprises: and under the condition that voice broadcasting is required, if the determined volume exceeds a volume threshold, transmitting the voice broadcasting content to the mobile terminal of the user so as to output the content through the mobile terminal.
In an embodiment of the application, the output configuration comprises volume, and the method further comprises: in case that the voice broadcasting is required, if the determined volume exceeds the volume threshold, the contents of the voice broadcasting are transmitted to an audio device closer to the user than the water heater to output the contents through the audio device.
In this application embodiment, the water heater is associated with the consumer, and obtaining the location of the user includes: acquiring the state of electric equipment; and determining the position according to the state of the electric equipment.
In an embodiment of the present application, the powered device comprises a lighting device; acquiring the state of the electric equipment comprises the following steps: acquiring the on-off state of the lighting equipment; and determining the location based on the state of the powered device comprises: the position is determined according to the switching state of the lighting device.
In the embodiment of the application, the current moment is determined to be in a preset time period; determining the position from the switch state of the lighting device comprises: the location is determined according to which of the lighting devices was last turned off.
In an embodiment of the present application, the method further comprises: controlling a first digital-to-analog conversion module to collect environmental data detected by a sensor; controlling a serial port communication module to receive the environmental data under the condition that the environmental data meet the preset broadcasting condition; and under the condition that the detected digital signals are determined not to meet the preset broadcasting conditions, the first digital-to-analog conversion module is controlled again to collect the environmental data.
In an embodiment of the present application, the method further comprises: matching corpus codes in a preset corpus database according to the environment data; selecting sound source digital signal data according to the corpus codes; controlling a second digital-to-analog conversion module to convert the sound source digital signal data into an audio file; inputting the audio file into a power amplifier for amplification; and carrying out voice broadcast on the amplified audio file to a sound production device.
In a second aspect of the present application, there is also provided a device for a water heater, a sound generating apparatus for voice broadcasting; a processor configured to: acquiring the position of a user; determining the output configuration of the water heater for voice broadcast according to the position; wherein the output configuration comprises at least one of: volume, timbre, frequency of voice broadcast.
In an embodiment of the present application, the apparatus further includes: the wireless device is used for carrying out wireless transmission with a mobile terminal of a user; the processor is configured to obtain, from the wireless device, a signal strength of a signal transmitted by the mobile terminal to the wireless device; the location is determined based on the signal strength.
In an embodiment of the present application, the apparatus further includes: a wireless device for wireless communication with a mobile terminal of a user; the processor is configured to obtain, from the wireless device, a transmission delay of a data packet transmitted by the mobile terminal to the wireless device; the position is determined based on the transmission delay.
In an embodiment of the application, the output configuration comprises volume, the processor is further configured to: and under the condition that voice broadcasting is required, if the determined volume exceeds a volume threshold, transmitting the voice broadcasting content to the mobile terminal of the user so as to output the content through the mobile terminal.
In an embodiment of the application, the output configuration comprises volume, the processor is further configured to: in case that the voice broadcasting is required, if the determined volume exceeds the volume threshold, the contents of the voice broadcasting are transmitted to an audio device closer to the user than the water heater to output the contents through the audio device.
In an embodiment of the present application, the apparatus further includes: the wireless equipment is arranged on the water heater and used for carrying out wireless transmission; the processor is configured to obtain the location of the user comprising: acquiring a transmission delay of a data packet transmitted from a mobile terminal to a wireless device from the wireless device in wireless communication with the mobile terminal of a user; the position is determined based on the transmission delay information.
In an embodiment of the application, the output configuration comprises volume, the processor is further configured to: and under the condition that voice broadcasting is required, if the determined volume exceeds a volume threshold, transmitting the voice broadcasting content to the mobile terminal of the user so as to output the content through the mobile terminal.
In an embodiment of the application, the output configuration comprises volume, the processor is further configured to: in case that the voice broadcasting is required, if the determined volume exceeds the volume threshold, the contents of the voice broadcasting are transmitted to an audio device closer to the user than the water heater to output the contents through the audio device.
In an embodiment of the application, the water heater is associated with an electrical device, and the processor is configured to obtain the location of the user including: acquiring the state of electric equipment; and determining the position according to the state of the electric equipment.
In an embodiment of the present application, the powered device comprises a lighting device; the processor is configured to obtain a status of the powered device comprising: acquiring the on-off state of the lighting equipment; and determining the location based on the state of the powered device comprises: the position is determined according to the switching state of the lighting device.
In an embodiment of the application, the processor is further configured to: determining that the current moment is located in a preset time period; determining the position from the switch state of the lighting device comprises: the location is determined according to which of the lighting devices was last turned off.
In an embodiment of the application, the processor is further configured to: controlling a first digital-to-analog conversion module to collect environmental data detected by a sensor; controlling a serial port communication module to receive the environmental data under the condition that the environmental data meet the preset broadcasting condition; and under the condition that the detected digital signals are determined not to meet the preset broadcasting conditions, the first digital-to-analog conversion module is controlled again to collect the environmental data.
In an embodiment of the application, the processor is further configured to: matching corpus codes in a preset corpus database according to the environment data; selecting sound source digital signal data according to the corpus codes; controlling a second digital-to-analog conversion module to convert the sound source digital signal data into an audio file; inputting the audio file into a power amplifier for amplification; and carrying out voice broadcast on the amplified audio file to a sound production device.
In a third aspect of the present application, there is provided a water heater comprising a water heater body, and further comprising the above-described device for a water heater.
In another aspect, a computer readable storage medium having stored thereon instructions for enabling a processor to perform the method for a water heater according to the above when executed by the processor is provided.
Through the technical scheme, the output configuration of the sound production equipment is adjusted according to the position of the user, and the voice broadcast content is an audio file corresponding to the environmental data detected by the sensor. Therefore, the audio file can be configured in terms of volume, timbre and frequency under the condition that the user is far away from the water heater, and if the volume of the sound generating equipment is regulated and controlled according to the position of the user, the user can hear the generated situation more clearly. Therefore, the pertinence and the effectiveness of broadcasting are improved, the convenience of a user is improved, the use experience of the user is improved, and the probability of accidents of the user is reduced.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a connection topology diagram of a hardware operating environment involved in a water heater according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for a water heater provided by an embodiment of the present invention;
FIG. 3 is a flow chart of step S11 of the method for a water heater provided by the present invention;
FIG. 4 is a logic diagram of step S11 of the method for a water heater provided by the present invention;
FIG. 5 is a flow chart of steps S12 and S13 of the method for a water heater provided by the present invention;
FIG. 6 is another flow chart of a method for a water heater provided by an embodiment of the present invention;
FIG. 7 is a flow chart of step S22 of the method for a water heater provided by the embodiment of the invention;
FIG. 8 is another flow chart of step S22 of the method for a water heater provided by the embodiment of the invention; and
FIG. 9 is a flowchart of a step S21 in the method for a water heater according to the present invention;
fig. 10 is a flowchart of step S21 of the method for a water heater according to the variation of the present invention; and
fig. 11 is a connection topology diagram of a device for a water heater according to a modification of the present invention.
Description of the reference numerals
10. A water heater; 20. a wireless device;
30. a mobile terminal; 40. a sensor;
50. a sound generating device; 60. a voice acquisition device;
70. an electricity-consuming device; 100. a device;
1001. a processor; 1002. a network bus;
1003. a user interface; 1004. a network interface;
1005. a first digital-to-analog conversion module; 1006. a second digital-to-analog conversion module;
1007. a serial port communication module; 1008. a power amplifier;
1009. and a clock module.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout is to include three juxtapositions, exemplified by "A and/or B" including either scheme A, or scheme B, or a scheme in which both A and B are satisfied. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The embodiment of the invention mainly provides a method for a water heater, in particular to a method for voice broadcasting of the water heater, which aims to solve the problem that the voice of the existing water heater with the voice broadcasting function can not be known by a user at the first time, so that the reliability of the water heater is improved.
Referring to fig. 1, fig. 1 is a connection topology diagram of a hardware operating environment related to a water heater according to an embodiment of the present invention;
as shown in fig. 1, the water heater 10 mainly includes hardware components including a water heater 10 body, a wireless device 20, a mobile terminal 30, a sensor 40, and a sound generating device 50. The hardware carries out signal mutual transmission in an electric connection or wireless transmission mode, so that a control system is formed in a home environment, the acquisition of an environment state is completed, the issuing of a hardware control command is completed, and the development of the home Internet of things is promoted more intelligently.
The hardware is specifically limited and described below, the water heater 10 may be a gas water heater, and the type of the gas water heater is not limited, and may be any one of a flue type, a forced-ventilated type, a constant temperature type and a condensing type; for the wireless device 20, the position of the wireless device 20 may be inside the water heater or outside the water heater 10, or may be completely and independently disposed on the installation wall close to the water heater 10, and only the wireless communication function needs to be realized. The wireless device 20 may be a short-range wireless transmission or a long-range wireless transmission, and it is only necessary to satisfy the wireless communication between the water heater 10 and the sensor 40, and the mobile terminal 30, and preferably, the short-range wireless transmission is, for example, zigbee, Bluetooth (Bluetooth), wireless broadband (Wi-Fi), NFC, and the like. The mobile terminal 30, that is, the user end, may be any one of a tablet, a mobile phone, and a wearable device; and sensors 40, which may be a water flow sensor and a temperature sensor, disposed at the domestic water outlet, and a gas sensor, disposed in the domestic environment, to detect the outlet water temperature, the outlet water quantity, which water outlet is being discharged, and the gas concentration in the home, etc., associated with the water heater 10; the sound generating device 50 may be a speaker, which may be disposed on the water heater 10 or independently disposed outside the water heater 10 for voice broadcasting.
Specifically, the water heater 10 also relates to modules that include: the processor 1001, the communication bus 1002, the user interface 1003 and the network interface 1004, the processor 1001 may be a CPU, the communication bus 1002 is used for implementing connection communication between the above-mentioned hardware, the user interface 1003 may be a Display screen (Display) arranged on the water heater 10, an input unit such as a Keyboard (Keyboard), and the user interface 1003 may further include a standard wired interface such as a USB input terminal. The network interface 1004 optionally may include a standard wired interface provided on the water heater 10.
Those skilled in the art will appreciate that the modules of the hardware operating environment involved in the water heater shown in FIG. 1 are not limiting of embodiments of the invention and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, the sensors 40 may be installed at various locations in the home environment, such as water flow sensors, temperature sensors, and gas sensors disposed in the home environment, to detect the outlet water temperature associated with the water heater, the outlet water volume, which outlet device is outputting water, and the gas concentration in the home, among other environmental data associated with the water heater 10. The sensor 40 then derives the detected environmental data through the wireless device 20, and gives the environmental data to the processor 1001 for processing through the communication serial port of the communication bus 1002, and after the processor 1001 receives the environmental data, the environmental data is packaged into a corresponding audio file and transmitted to the sound generating device 50 for voice broadcasting. Simply speaking, will be about to carry out voice broadcast with the relevant factor of water heater 10 through sound generating equipment 50, through this type of mode, can arouse user's attention degree, compare display screen and other modes, pronunciation are more directly perceived, and the possibility that the user saw environmental information the very first time is very big to can reduce the incidence of accident and unnecessary energy consumption.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for a water heater according to an embodiment of the present invention. In the modules shown in fig. 1, the network interface 1004 may be used primarily for data communication with the backend server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 in the present invention is mainly used to call a preset execution program, and the execution program needs to execute the following operations:
step S11: acquiring environmental data detected by a sensor associated with the water heater; and
step S12: and matching the environmental data in a preset corpus database to generate a corresponding audio file.
It can be understood that, in step S101, the environmental data of the sensor associated with the water heater is obtained through the processor, and in step S102, the corresponding audio file is matched in the preset corpus database according to the environmental data, so that the audio file is transmitted to the sound generating device to broadcast the audio file. Can solve the user through this type of mode and obtain some environmental data through the water heater, like the carbon monoxide concentration in the environment, or the condition of electric leakage, adopt pilot lamp and bee calling organ under comparing traditional mode, the user probably can not notice the pilot lamp, or hear bee calling organ warning very first time and observe the water heater and lead to getting into the danger area, compare the mode of voice broadcast more intelligent, factor of safety is higher relatively, still for example the user can not know when probably water can be heated to the temperature that can the bathing, will go frequent concern the temperature, it waits at this, can do other things completely in the time of concern, thus, will cause people's attention not to concentrate on, anxiety, the problem of waste time.
In the embodiment of the present invention, the above steps are further defined. Referring to fig. 3 and fig. 4, fig. 3 is a flowchart of step S11 in the method for a water heater according to the present invention. Fig. 4 is a logic diagram for executing step S11 in the method for a water heater provided by the present invention. When the processor 1001 acquires the environmental data detected by the sensor associated with the water heater in step S11, the method may include the following steps:
step S111: controlling a first digital-to-analog conversion module (a first AD acquisition module) to acquire environmental data detected by a sensor;
step S112: controlling a serial port communication module to receive the environmental data under the condition that the environmental data meet the preset broadcasting condition; and
step S113: and under the condition that the detected digital signals are determined not to meet the preset broadcasting conditions, the first digital-to-analog conversion module is controlled again to collect the environmental data.
It can be understood that steps S111 to S113 describe that the analog quantity of the sensor 40, i.e., the environmental data, is collected by the first digital-to-analog conversion module 1005, and then is sent to the upper computer (i.e., the processor) through the serial port communication module, so that the centralized collection and processing of the upper computer can be realized. In the embodiment of the present invention, the sensors provided are a/D type sensors, including a water temperature sensor, a TDS (Total dissolved solids) sensor, and a gas sensor, so as to provide water temperature data, TDS data, and gas concentration data, etc., it should be understood by those skilled in the art that other types of sensors may be added on the above to obtain more data, and the present invention also falls within the protection scope covered by the present invention.
The term "broadcast condition" in the above steps S112 and S113 is defined as a threshold condition corresponding to the water temperature data, TDS data, and gas concentration data, and can generate a minimum value or a maximum value for broadcast, where the threshold value may be set by a user or a safety threshold value pre-configured by a merchant, and if the water temperature data is set by the user to be boiled to 35 degrees for shower, that is, when the water temperature data detected by the sensor reaches 35 degrees, the water temperature data can be considered to have satisfied the broadcast condition, so as to perform voice broadcast through the sound generating device.
For one aspect from step S112 to step S113, that is, the sensor may transmit the environmental data to the upper computer in a wireless transmission manner, specifically, the sensor is responsible for acquiring the environmental data at regular time, and sends the environmental data out through wireless transmission after packaging. The wireless transmission can be any one of bluetooth, WiFi (wireless fidelity), or ZigBee, and the specific choice can be determined according to the applicable function, for example, other plug-in devices need to be added, and may preferably be WiFi; the data sensed by the sensor also needs to be directly interacted with the mobile phone, preferably Bluetooth; in this embodiment, ZigBee is optionally used. After the sensor and the main node code of the sensor are compiled and finished, the sensor and the main node code are connected through a serial port, and then the processor and the sensor are electrified, so that the environmental data of the sensor can be acquired at regular time. The PC side of the processor can analyze and view each environmental data by serial port number classification.
In the embodiment of the present invention, the above steps are further defined, please refer to fig. 5, and fig. 5 is a logic diagram of step S12 in the method for a water heater according to the present invention. Matching in a preset corpus database according to the environment data to generate a corresponding audio file comprises the following steps:
step S121: matching corpus codes in a preset corpus database according to the environment data;
step S122: selecting sound source digital signal data according to the corpus codes; and
step S123: and controlling a second digital-to-analog conversion module to convert the sound source digital signal data into an audio file.
The method may then further comprise:
step S131: inputting the audio file into a power amplifier for amplification;
step S132: and carrying out voice broadcast on the amplified audio file to a sound production device.
It is understood that, in steps S121 to S123, a manner of converting the environmental data into the corresponding audio file is mainly described, the environmental data may reflect the state of the sensor, and the environmental data is used as a key to match the corpus codes in the preset corpus database, so as to select the sound source digital signal data according to the corpus codes, and the sound source digital signal data is converted into the audio file through the second digital-to-analog conversion module (AD converter) again. For example, when indoor gas leaks, the corresponding audio file may be the following audio: "danger, gas leakage! Therefore, the user can know the occurrence situation at the first time and then make corresponding measures, and the occurrence probability of accidents is reduced.
Further in steps S131 to S132, the audio file is packaged and sent out through a sound-emitting device, which is usually disposed inside or outside the water heater and can serve to notify the user.
The method for a water heater provided by the embodiment of the invention is explained above, and another scheme of the embodiment of the invention is explained below.
Referring to fig. 6, fig. 6 is another flow chart of a method for a water heater according to an embodiment of the present invention. In the embodiment of the present invention, the processor invokes a preset execution program, and the execution program further needs to execute the following steps:
step S21: acquiring the position of a user; and
step S22: and determining the output configuration of voice broadcast of the water heater according to the position.
Wherein the output configuration comprises at least one of: volume, timbre, frequency of voice broadcast.
It can be understood that, in steps S21 to S22, the output configuration of the sound generating device is mainly adjusted according to the position of the user, and as can be seen from the above, the content of the voice broadcast is an audio file corresponding to the environmental data detected by the sensor, and step S22 configures only the volume, tone and frequency of the voice broadcast, which means that: because in the actual use process, the gas water heater is usually arranged in a relatively open area in a home, such as on a balcony or the outer wall of a kitchen, under the factors of wall obstruction or long distance, a user may not be able to hear the voice broadcast in the first time. Through the mode, the audio file can be configured in terms of volume, timbre and frequency under the condition that the user is far away from the water heater, for example, the volume of the sound generating equipment is regulated and controlled according to the position of the user, so that the user can hear the occurring situation more clearly. Thereby increasing the pertinence and effectiveness of the broadcast.
In summary, obtaining the location of the user may include the following. If the building where the user lives is a high-rise building, the method can be performed by adopting a mode including but not limited to Wireless Fidelity (Wi-fi) positioning, Radio Frequency Identification (RFID) electronic tag positioning or bluetooth positioning and the like; optionally, positioning Wi-fi, and calculating current position information of the mobile terminal, namely the position of the user, by using a Nearest Neighbor rule classification algorithm (K-Nearest Neighbor) to calculate each RSSI value detected by the mobile terminal in combination with a triangulation method according to the distance between the mobile terminal and a network point.
Fig. 7 is a flowchart of step S21 in the method for a water heater according to the embodiment of the present invention. Referring to fig. 7, in the embodiment of the present invention, when the processor executes the processor for acquiring the location of the user, the processor may further perform the following steps:
step S221: acquiring the signal strength transmitted to a wireless device by a mobile terminal from the wireless device which performs wireless communication with the mobile terminal of a user;
step S222: the location is determined based on the signal strength information.
It can be understood that because the voice broadcast transmission relies on the sound medium, thereby the volume intensity of sound medium can be by the wall separation decay in the family, lead to even at the user apart from the water heater, under the very close condition of sound generating equipment promptly, but still can't hear voice broadcast's warning in the very first time at the wall separation, consequently adopt wireless signal intensity as the judgement of user's position, and then adjust voice broadcast's output configuration is comparatively reasonable mode.
The wireless device in step S221 is an element arranged in the water heater or an external component on the outer wall of the water heater, and the position relationship between the water heater and the user is directly obtained through the signal strength of the wireless device and the mobile terminal. The wireless device may also obtain the signal strength of the user and the third-party gateway device from the third-party gateway device, such as a router, the user is connected to the router through a mobile terminal, and the wireless device determines the location of the user by reading the signal strength fed back by the mobile terminal on the router. In embodiments of the invention, the latter is preferred due to the fact that it is not possible for a user to connect the wireless device of the water heater home.
Specifically, the Wifi manager object of the router connected with the mobile terminal can be obtained through the wireless device, Wifi information such as current connection speed, an IP address, signal strength, a Wifi name and the like is obtained through the Wifi manager object, and therefore a specific absolute value is returned by using the signal strength in the Wifi information, for example, a signal is good from-50 to 0, and at the moment, it can also be determined that a user is easy to receive a sound medium from a water heater, namely, the possibility of hearing the voice broadcast is high, a signal is general from-50 to-70, at the moment, the user hearing the voice broadcast may be unclear, a signal is poor from-70 to-100, and at the moment, the user is difficult to hear the voice broadcast.
In the above-described scheme, since the router is usually difficult to move, the wireless device first needs to determine the location of the router from the relative location with the router, and further needs to determine the location of the user by using the location of the router in addition to the signal strength of the user and the router.
Referring to fig. 8, fig. 8 is another flowchart of step S21 in the method for a water heater according to the embodiment of the invention. An improvement of the embodiments of the present invention is provided in that the signal delay of the wireless transmission can also be used to traverse the user's location, when the processor comprises the following steps:
step S221': acquiring a transmission delay of a data packet transmitted from a mobile terminal to a wireless device from the wireless device in wireless communication with the mobile terminal of a user;
step S222': the position is determined based on the transmission delay information.
In the same way as above, according to the delay in the wifi information, if the delay is less than 100ms, it is considered that the user can receive the sound medium easily, that is, the possibility of hearing the voice broadcast is high, and the distance is considered to be long from 100ms to 300ms, and the specific implementation manner is similar to the above, so that the embodiment of the present invention is not described in detail in step S221 'to step S222'.
Referring to fig. 9, fig. 9 is a flowchart of a step S21 in the method for a water heater according to the embodiment of the present invention. In an aspect defined by the embodiments of the present invention, in the volume of the audio file, the method for a water heater described above, the processor further performs the following steps:
step S23: when the position of the user cannot be detected, the volume of voice broadcast is regulated to the maximum; or
Step S24: when the user does not respond, the volume of the voice broadcast is gradually increased;
step S25: and transmitting the content of the voice broadcast to a mobile terminal of the user in case that the determined volume exceeds the volume threshold, so as to output the content through the mobile terminal.
It can be understood that in the mode, the situation that a user goes out after setting the temperature of the water heater, or gas leakage occurs at home but the user is not at home or the user does not use the mobile terminal for wireless communication (such as a flight mode) is mainly considered, and the voice broadcast volume is regulated to the maximum, so that the user can be ensured to sense environmental information at the first time, and the probability of accidents is reduced.
Or the position of the user is difficult to hear the broadcast, the possibility that the user hears the environment information can be increased by gradually increasing the volume according to the environment data detected by the sensor, the user does not respond, the user does not turn off the voice broadcast or change the position, when the volume is increased to a volume threshold value, the user is determined to possibly not hear the voice broadcast, in order to prevent people from being disturbed or other situations, the voice broadcast content is converted into a text form at the moment, the text form data packet is transmitted to the mobile terminal of the user, the content is output through the mobile terminal, the environment information is notified, the user is notified at the first time, and accidents are avoided.
Based on this, as a modification of the embodiment of the present invention, in the method for a water heater, the processor may further perform the following steps:
in case that the voice broadcasting is required, if the determined volume exceeds the volume threshold, the contents of the voice broadcasting are transmitted to an audio device closer to the user than the water heater to output the contents through the audio device.
It can be understood that the modified example is mainly based on the establishment of the smart home on the internet, and many existing smart homes are based on the same system, the content of voice broadcast is converted into a text form, and the data packet in the text form is transmitted to other audio equipment, such as a sound, a television, a computer and the like, so that the user can be informed through the other audio equipment, and therefore danger is prevented.
Referring to fig. 10, fig. 10 is a flowchart of step S21 in the method for a water heater according to the variation of the present invention. In a variation of the invention, the processor for obtaining the location of the user may further perform steps comprising:
step S214, the water heater is associated with electric equipment;
acquiring the location of the user includes:
step S215, acquiring the state of the electric equipment;
and S216, determining the position according to the state of the electric equipment.
It can be understood that, in the embodiment of the present invention, for step S21, a manner is also provided in which the determination is performed by using an electric device of a third party, such as a television, a computer, a projector, an illumination device, and the like used by the user at home, and the manner mainly considers the second scheme when the user does not use the mobile terminal, and determines the position of the user according to the state of the electric device used by the user, such as playing a game on a computer, so as to adjust the volume of the voice broadcast by the sound generating device. If the microwave oven is detected to be in a use state, the microwave oven can be considered to be used in a kitchen, and the voice broadcast output configuration corresponding to the position of the user at the moment can be judged according to the calibration of the position of the water heater in advance; it should be noted that, on the basis of carrying out the whole internet of things based on smart homes, for those skilled in the art, the method for sharing the information of the electric equipment belongs to a common technical means, and the embodiments of the present invention are not described herein too much.
The embodiment of the present invention further defines step 216 in step S214, and the electrical device includes an illumination device; acquiring the state of the electric equipment comprises the following steps: acquiring the on-off state of the lighting equipment; and determining the location based on the state of the powered device comprises: the position is determined according to the switching state of the lighting device.
It is understood that the lighting device is selected as the preferred item of the electric device, and firstly, the possibility of the position movement of a television, a computer, a projector and the like is high, and secondly, the electric device has no universality and does not necessarily have the condition. For the lighting equipment, the position of the lighting equipment is often fixed in a household, the position of the lighting equipment can be preset, for example, the position of the lighting equipment can be judged by the state of the lighting equipment, namely, the user uses the lighting equipment, and the voice broadcast output configuration corresponding to the position of the user at the moment can be judged according to the calibration of the position of the water heater; for example, the preset water heater is arranged at the position A, the lighting devices of the kitchen, the bedroom, the living room and the toilet are respectively calibrated at different positions relative to the position A, and different voice broadcast output configurations are configured according to the position calibration, so that the scheme is completed.
The embodiment of the invention also provides an improved scheme, and on the basis of the scheme, the processor also comprises a clock module, and the clock module can enable the processor to be carried by itself or be an external device and is used for acquiring the current time. In the method for the water heater, the processor executes the following steps:
determining that the current moment is located in a preset time period;
the determining the position according to the switch state of the lighting device comprises: the location is determined from the last turned off one of the lighting devices.
Specifically, the location of the user is determined according to whether the current time is in the evening or not, and when the current time is in the evening, according to the location of the lighting device at which the lighting device is last turned off.
It can be understood that, since most of users have mobile terminals in a standby or flying state at night, the mobile terminals determine that the positions of the users are not suitable, and at the moment, the positions of the lighting devices which are turned off last, namely the positions of the users which turn off the lights last, are used as the sleeping positions of the users, so that the output configuration of the voice broadcast of the water heater is controlled according to the sleeping positions of the users.
Fig. 11 is a connection topology diagram of a device 100 for a water heater 10 according to a modification of the present invention. Referring to fig. 11, an embodiment of the present invention further provides an apparatus 100 for a water heater 10, where the apparatus 100 includes:
the sounding device 50 is arranged inside the water heater 10 or on the outer wall of the housing, or the independent water heater 10 is arranged on a preset mounting structure and used for voice broadcasting;
and a processor 1001, wherein the processor 1001 is defined to include a PC and a main controller, and is configured to execute preset program instructions to control operations configured in response to the operation of a peripheral connected to the main controller.
Specifically, environmental information from sensors 40 associated with water heater 10 is received by processor 1001 for broadcast by sound emitting device 50.
The sensor 40 may include a water temperature sensor, a TDS sensor, and a gas sensor, which are respectively disposed at the corresponding installation positions of the household, such as the water outlet, so as to obtain the outlet water temperature, the outlet water amount, which water outlet device 100 is discharging water, and the gas concentration in the household, which are all defined as "environmental data".
The sound generating device 50 may be integrated with the water heater 10, that is, a sound emitting hole is added on the water heater 10 to realize a sound emitting function, or may be an independent sound generating speaker; the number of the distribution and the periphery of the water heater 10 can be at least one, but a plurality of distribution and the periphery of the water heater 10 can also be adopted to form a ring-type sound effect.
The sound generating device 50 may be provided with an isolation structure, such as a waterproof mesh enclosure, to prevent the external humid environment from causing the sound generating device 50 to fail.
In a variation of the apparatus 100 provided in the embodiment of the present invention, the apparatus 100 may further include:
the voice collecting device 60 is electrically connected to the processor 1001, and is configured to receive the sound signal in the environment and transmit the sound signal to the processor 1001 for processing.
It can be understood that the way of collecting the voice by the voice collecting device 60 may be the microphone disposed at the water heater 10 or independent of the water heater 10, or may be only the microphone of the mobile terminal 30, which only needs to receive the voice signal. After the user sends the voice signal, the voice collecting device 60 may convert the analog signal of the voice signal into a digital signal, so as to match the corresponding corpus coding and the operation instruction according to the digital signal. The processor 1001 matches the received sound signal with a preset corpus database, and wakes up a corresponding operation instruction to control the water heater 10 according to the matching result.
According to the above, if the sensor 40 receives that the gas concentration in the environment reaches a certain predetermined concentration threshold, the sound generating device 50 generates a corresponding alarm sound, and at this time, if the user wants to enter the area where the water heater 10 is located to close the gas valve, since the gas concentration in the air has reached the predetermined concentration threshold, the user is relatively dangerous to enter the area, and the voice collecting device 60 collects and collects the voice command of the user remotely, such as: the received voice signal is converted into a corresponding operation instruction, so that the water heater 10 is controlled to close the gas valve. Avoiding further leakage of gas and increasing the safety and experience of the user in using the water heater 10.
The user may also control the water heater 10 via the wireless device 20 via the mobile terminal 30.
Further, for the above approach, the embodiment of the present invention may also be configured for the processor 1001 to:
the voice control mode is entered when the environmental data detected by the sensor 40 satisfies the predetermined condition, and the voice control mode starts to wake up the voice collecting device 60 to receive the voice signal.
It can be understood that, through the above manner, in the use process of the water heater 10, only when the environmental data meets the preset condition, the voice control mode is entered, and the voice acquisition device 60 is awakened to receive the voice signal in the external environment, that is, the voice control can be performed in the advanced voice control mode, so that the false triggering probability of the water heater 10 is greatly reduced.
In particular, the processor 1001 is configured to perform the following steps:
acquiring environmental data detected by a sensor 40 associated with the water heater 10; and
and matching the environmental data in a preset corpus database to generate a corresponding audio file.
In an embodiment of the present invention, the apparatus 100 further comprises
A first digital-to-analog conversion module 1005, configured to collect an analog signal of the sensor 40 and convert the analog signal into a digital signal;
a serial communication module 1007 connected to the first digital-to-analog conversion module 1005 for transmitting the digital signal to the processor 1001;
i.e. the first AD acquisition module, the processor 1001 is further configured to perform the following steps: controlling a first digital-to-analog conversion module (first AD acquisition module) to acquire the environmental data detected by the sensor 40; controlling a serial port communication module to receive the environmental data under the condition that the environmental data meet the preset broadcasting condition; and under the condition that the detected digital signals are determined not to meet the preset broadcasting conditions, the first digital-to-analog conversion module is controlled again to collect the environmental data.
It can be understood that the first AD acquisition module is used for acquiring the analog quantity of the sensor 40 and converting the analog quantity into a digital signal which can be recognized by a machine, namely, environmental data, and then the digital signal is sent to the upper computer (namely, the processor 1001) through the serial port communication module, so that the centralized acquisition and processing of the upper computer can be realized through the above. In the embodiment of the present invention, the sensor 40 is an a/D type sensor 40, which includes a water temperature sensor, a TDS sensor, and a gas sensor, so as to provide water temperature data, TDS data, and gas concentration data, etc., it should be understood by those skilled in the art that other types of sensors 40 may be added on the basis of the above data to obtain more data, and the present invention also falls within the protection scope covered by the present invention.
The term "broadcast condition" defined above is the threshold value condition that corresponds water temperature data, TDS data, and gas concentration data, can produce the minimum or the maximum value that broadcasts, and the threshold value can be that the user sets for, also can be the safety threshold value that the trade company preconfigured, if to water temperature data, the user can set for to burn 35 degrees with water and be used for the shower, and when the water temperature data that detects of sensor 40 reached 35 degrees promptly, can regard this water temperature data to have satisfied the broadcast condition to carry out voice broadcast through vocal apparatus 50.
Sensor 40 can be through wireless transmission's mode with environmental data transmission to the host computer, specifically speaking, sensor 40 is responsible for regularly gathering environmental data to send through wireless transmission after packing environmental data. The wireless transmission can be any one of bluetooth, WiFi (wireless fidelity), or ZigBee, and the specific choice can be determined according to the applicable function, for example, other plug-in devices need to be added, and may preferably be WiFi; the data sensed by the sensor 40 also needs to be directly interactive with the mobile phone, preferably bluetooth; in this embodiment, ZigBee is optionally used. After the relevant parameters of the sensor 40 and the relevant parameters of the wireless communication are configured and the host node codes of the sensor 40 and the sensor 40 are compiled, the host node codes are connected with the serial communication module, and then the processor 1001 and the sensor 40 are powered on, so that the environmental data of the sensor 40 can be acquired at regular time. The PC side of the processor 1001 can analyze and view the respective environment data by serial number classification.
In an embodiment of the present invention, the device 100 for a water heater 10 comprises:
a second digital-to-analog conversion module 1006, configured to convert the sound source digital signal matched with the environment data into an analog signal of an audio file;
and the power amplifier 1008 is used for amplifying the analog signals of the audio files.
The processor 1001 is correspondingly further configured to perform the following steps of matching the corpus codes in a preset corpus database according to the environment data; selecting sound source digital signal data according to the corpus codes; controlling a second digital-to-analog conversion module to convert the sound source digital signal data into an audio file; inputting the audio file into a power amplifier for amplification; the amplified audio file is subjected to voice broadcast to the sound emitting device 50.
In another aspect of the embodiment of the present invention, when performing voice announcement through the sound generating device 50, the following steps may be further performed: acquiring the position of a user; and determining the output configuration of the water heater 10 for voice broadcast according to the position. Wherein the output configuration comprises at least one of: volume, timbre, frequency of voice broadcast.
According to the embodiment of the present invention, the output configuration of the sound generating device 50 can be adjusted according to the position of the user, and as can be seen from the above, the content of the voice broadcast is an audio file corresponding to the environment data detected by the sensor 40, and only the volume, tone and frequency of the voice broadcast are configured, and the purpose of this method is to: since the gas water heater 10 is usually installed in a relatively open area in a home, such as a balcony or an outer wall of a kitchen, there is a case where a user may not hear a voice broadcast for the first time due to a wall blockage or a long distance. In this way, the volume, the timbre and the frequency of the audio file can be configured when the user is far away from the water heater 10, for example, the volume of the sound generating device 50 can be controlled according to the position of the user, so that the user can hear the occurring situation more clearly. Thereby increasing the pertinence and effectiveness of the broadcast.
In an improved direction in the embodiment of the present invention, when the sound generating device 50 is broadcasted, if the environmental data simultaneously triggers the sound generating device 50 to broadcast a plurality of audio files, priority is set to the audio files, and if the gas leakage and the water temperature burn to the preset value of the user, the audio files with the gas leakage are broadcasted preferentially. To prevent the user from missing more important environmental information, thereby reducing the possibility of an accident.
The apparatus 100 may further comprise:
a wireless device 20 for wireless communication with the mobile terminal 30; the wireless device 20 may be a peripheral device disposed on the water heater 10, or may be a third party gateway device, such as a router or other device, referred to as a stand-alone device in the method embodiments.
The processor 1001, when executing the processor 1001 for obtaining the location of the user, further needs to execute the steps including: acquiring, from a wireless device 20 that performs wireless communication with a mobile terminal 30 of a user, a signal strength transmitted by the mobile terminal 30 to the wireless device 20; the location is determined based on the signal strength information.
The wireless device 20 is an element disposed inside the water heater 10 or an external device on the outer wall of the water heater 10, and the position relationship between the water heater 10 and the user is directly obtained through the signal strength of the wireless device 20 and the mobile terminal 30. The wireless device 20 may also obtain the signal strength of the user and the third-party gateway device from the third-party gateway device, such as a router, to which the user is connected through the mobile terminal 30, and the wireless device 20 determines the location of the user by reading the signal strength fed back by the mobile terminal 30 on the router. In the embodiment of the present invention, the latter is preferred because of the consideration that the user cannot connect the wireless device 20 of the water heater 10 home.
An improvement of the embodiments of the present invention is that the wireless transmission signal delay can be used to find the user's position, and the processor 1001 performs the following steps:
acquiring, from a wireless device 20 that performs wireless communication with a mobile terminal 30 of a user, a transmission delay of a packet transmitted from the mobile terminal 30 to the wireless device 20; the position is determined based on the transmission delay information.
In the method for the water heater 10, the processor 1001 further performs the following steps: when the position of the user cannot be detected, the volume of voice broadcast is regulated to the maximum; or when the user does not respond, the volume of the voice broadcast is gradually increased; in the case where the determined volume exceeds the volume threshold, the contents of the voice broadcast are transmitted to the mobile terminal 30 of the user to output the contents through the mobile terminal 30.
In this manner, it is mainly considered that when a user goes out after setting the temperature of the water heater 10, or gas leakage occurs at home, but the user is not at home, or the user does not use the mobile terminal 30 to perform wireless communication (for example, in a flight mode), the volume of the voice broadcast is controlled to the maximum, so that the user can sense environmental information at the first time, and thus, the probability of occurrence of an accident is reduced. Or the user is at a position where the broadcast is difficult to hear, at this time, according to the environment data detected by the sensor 40, the possibility that the user hears the environment information can be increased by gradually increasing the volume, the user does not respond, and the user does not turn off the voice broadcast or change the position, when the volume is increased to a volume threshold, the user is determined to possibly not hear the voice broadcast, in order to prevent people from being disturbed or other situations, at this time, the voice broadcast content is converted into a text form, the text form data packet is transmitted to the mobile terminal 30 of the user, so that the content is output through the mobile terminal 30, the environment information is notified, the user is notified at the first time, and accidents are avoided.
Based on this, as a modification of the embodiment of the present invention, the above method for the water heater 10, the processor 1001 may further perform the following steps: in the case where the voice announcement is required, if the determined volume exceeds the volume threshold, the contents of the voice announcement are transmitted to an audio device closer to the user than the water heater 10 to output the contents through the audio device.
It can be understood that the modified example is mainly based on the establishment of the smart home on the internet, and many existing smart homes are based on the same system, the content of voice broadcast is converted into a text form, and the data packet in the text form is transmitted to other audio equipment, such as a sound, a television, a computer and the like, so that the user can be informed through the other audio equipment, and therefore danger is prevented.
In a variation of the present invention, the processor 1001 for acquiring a location of a user may further perform steps including: the water heater 10 is associated with a powered device 70; acquiring the location of the user includes: acquiring the state of the electric equipment 70; the location is determined based on the status of the powered device 70.
Based on this, the embodiment of the present invention further provides an improved scheme, and based on the above, the processor 1001 further includes
A clock module 1009, configured to obtain time data;
the clock module may enable the processor 1001 to be self-contained or external, and is used for obtaining the current time. In the method for the water heater 10, the processor 1001 executes the following steps: determining that the current moment is located in a preset time period; the determining the position according to the switch state of the lighting device comprises: the location is determined from the last turned off one of the lighting devices.
Specifically, the location of the user is determined according to whether the current time is in the evening or not, and when the current time is in the evening, according to the location of the lighting device at which the lighting device is last turned off. It can be understood that, since most users have the mobile terminal 30 in a standby or flying state at night, the mobile terminal 30 determines that the user position is not suitable, and at this time, the output configuration of the voice broadcast of the water heater 10 is controlled according to the sleep position of the user by using the position where the lighting device is turned off last, that is, the position where the user turns off the light last, as the sleep position of the user.
It is understood that it is within the scope of the present application to configure the processor 1001 to perform only some of the steps or additional steps described above for the water heater 10.
The embodiment of the present invention further provides a wireless device 20, configured to connect with a mobile terminal 30 of a user to obtain signal strength or transmission delay of the user; the signal strength or transmission delay is sent to the water heater 10 to determine the location of the user.
It will also be understood by those skilled in the art that if the method or the cleaning apparatus of the present invention is simply changed, the functions added to the above method are combined, or the apparatus is replaced, for example, the model material of each component is replaced, the use environment is replaced, the positional relationship of each component is simply replaced, etc.; or the products formed by the components are integrally arranged; or a detachable design; it is within the scope of the present invention to replace the methods and apparatus of the present invention with any method/apparatus/device that combines the components to form a method/apparatus/device with specific functionality.
The fifth embodiment of the invention also provides a water heater, which comprises the device. It should be understood that the water heater is not limited to size and shape, and only needs to use corresponding elements of the device to achieve the same or similar functions, and all the same shall fall within the protection scope of the present invention.
The device also comprises a memory, the method for controlling the water heater can be stored in the memory as a program unit, and the processor executes the program unit stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the spraying arm of the water heater is controlled to clean the tableware according to the tableware image by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a machine-readable storage medium having stored thereon a program which, when executed by a processor, implements the method for controlling a water heater.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the method for controlling the water heater when running.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (18)

1. A method for a water heater, comprising:
acquiring the position of a user; and
determining the output configuration of the water heater for voice broadcasting according to the position;
wherein the output configuration comprises at least one of:
volume, timbre, frequency of voice broadcast.
2. The method of claim 1, wherein obtaining the location of the user comprises:
acquiring signal strength transmitted to a wireless device by a mobile terminal from the wireless device in wireless communication with the mobile terminal of the user;
determining the location based on the signal strength.
3. The method of claim 1, wherein obtaining the location of the user comprises:
acquiring a transmission delay of a data packet transmitted by a mobile terminal to a wireless device in wireless communication with the mobile terminal of the user from the wireless device;
determining the position based on the transmission delay.
4. The method of claim 1, wherein the output configuration comprises volume, the method further comprising:
under the condition that voice broadcast is needed, if the determined volume exceeds a volume threshold value, transmitting the voice broadcast content to the mobile terminal of the user so as to output the content through the mobile terminal.
5. The method of claim 1, wherein the output configuration comprises volume, the method further comprising:
under the condition that voice broadcast is needed, if the determined volume exceeds a volume threshold value, transmitting the voice broadcast content to an audio device which is closer to the user than the water heater so as to output the content through the audio device.
6. The method of claim 1, wherein the water heater is associated with a powered device, and wherein obtaining the location of the user comprises:
acquiring the state of the electric equipment;
and determining the position according to the state of the electric equipment.
7. The method of claim 6, wherein the powered device comprises a lighting device;
the acquiring the state of the electric device comprises: acquiring the on-off state of the lighting equipment; and
the determining the location according to the state of the powered device comprises: the position is determined according to a switching state of the lighting device.
8. The method of claim 7, further comprising: determining that the current moment is located in a preset time period;
the determining the position according to the switch state of the lighting device comprises: the location is determined from the last turned off one of the lighting devices.
9. An apparatus for a water heater, comprising:
the sound production equipment is used for voice broadcast;
a processor configured to:
acquiring the position of a user; and
determining the output configuration of the water heater for voice broadcasting according to the position;
wherein the output configuration comprises at least one of:
volume, timbre, frequency of voice broadcast.
10. The apparatus of claim 9, further comprising:
a wireless device for wireless communication with a mobile terminal of the user;
the processor is further configured to:
acquiring signal strength transmitted to the wireless device by the mobile terminal from the wireless device;
determining the location based on the signal strength.
11. The apparatus of claim 9, further comprising:
a wireless device for wireless communication with a mobile terminal of the user;
the processor is further configured to:
acquiring the transmission delay of a data packet transmitted to the wireless device by the mobile terminal from the wireless device;
determining the position based on the transmission delay.
12. The apparatus of claim 9, wherein the output configuration comprises volume, the processor further configured to:
under the condition that voice broadcast is needed, if the determined volume exceeds a volume threshold value, transmitting the voice broadcast content to the mobile terminal of the user so as to output the content through the mobile terminal.
13. The apparatus of claim 9, wherein the output configuration comprises volume, the processor further configured to:
under the condition that voice broadcast is needed, if the determined volume exceeds a volume threshold value, transmitting the voice broadcast content to an audio device which is closer to the user than the water heater so as to output the content through the audio device.
14. The apparatus of claim 9, wherein the water heater is associated with a powered device, the processor being configured to obtain the location of the user comprising the processor being configured to:
acquiring the state of the electric equipment;
and determining the position according to the state of the electric equipment.
15. The apparatus of claim 14, wherein the powered device comprises a lighting device;
the processor being configured to obtain the state of the powered device comprises: acquiring the on-off state of the lighting equipment; and
the processor being configured to determine the location from the state of the powered device comprises: the position is determined according to a switching state of the lighting device.
16. The apparatus of claim 15, wherein the processor is further configured to:
determining that the current moment is located in a preset time period;
the processor being configured to determine the position from a switch state of the lighting device comprises: the location is determined from the last turned off one of the lighting devices.
17. A water heater comprising a water heater body, characterized in that it further comprises a device for a water heater according to any one of claims 9 to 16.
18. A machine-readable storage medium having stored thereon instructions for enabling a processor to perform the method for a water heater according to any one of claims 1 to 8 when executed by the processor.
CN202010866169.0A 2020-08-25 2020-08-25 Water heater and method, device and machine readable storage medium thereof Pending CN112113342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010866169.0A CN112113342A (en) 2020-08-25 2020-08-25 Water heater and method, device and machine readable storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010866169.0A CN112113342A (en) 2020-08-25 2020-08-25 Water heater and method, device and machine readable storage medium thereof

Publications (1)

Publication Number Publication Date
CN112113342A true CN112113342A (en) 2020-12-22

Family

ID=73804498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010866169.0A Pending CN112113342A (en) 2020-08-25 2020-08-25 Water heater and method, device and machine readable storage medium thereof

Country Status (1)

Country Link
CN (1) CN112113342A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59231352A (en) * 1983-06-11 1984-12-26 Rinnai Corp Instantaneous water boiler
CN103196235A (en) * 2013-04-17 2013-07-10 李迎春 Automatic alarm method of domestic gas water heater
KR20180036940A (en) * 2018-03-27 2018-04-10 주식회사 경동원 Room controller of boiler, central server and method for monitoring user
CN210951910U (en) * 2019-10-16 2020-07-07 东海县裕隆医学检验实验室有限公司 Wall-mounted furnace with carbon monoxide concentration detection function
CN111427531A (en) * 2020-03-17 2020-07-17 北京字节跳动网络技术有限公司 Prompting method and device and electronic equipment
CN111505206A (en) * 2020-04-02 2020-08-07 北京声智科技有限公司 Gas concentration warning method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59231352A (en) * 1983-06-11 1984-12-26 Rinnai Corp Instantaneous water boiler
CN103196235A (en) * 2013-04-17 2013-07-10 李迎春 Automatic alarm method of domestic gas water heater
CN104792016A (en) * 2013-04-17 2015-07-22 苏海英 Automatic alarm method for domestic gas water heater
KR20180036940A (en) * 2018-03-27 2018-04-10 주식회사 경동원 Room controller of boiler, central server and method for monitoring user
CN210951910U (en) * 2019-10-16 2020-07-07 东海县裕隆医学检验实验室有限公司 Wall-mounted furnace with carbon monoxide concentration detection function
CN111427531A (en) * 2020-03-17 2020-07-17 北京字节跳动网络技术有限公司 Prompting method and device and electronic equipment
CN111505206A (en) * 2020-04-02 2020-08-07 北京声智科技有限公司 Gas concentration warning method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡德秀: "《时频差无源定位理论与实践》", 31 January 2019 *

Similar Documents

Publication Publication Date Title
US10403127B2 (en) Smart-home device providing follow up communications to condition detection events
AU2017235938B2 (en) Systems and methods for processing ultrasonic inputs
CN112113342A (en) Water heater and method, device and machine readable storage medium thereof
CN111105790B (en) Intelligent external device, intelligent sound box system and distributed reception method
CN214223426U (en) A device and water heater for water heater voice broadcast

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201222

RJ01 Rejection of invention patent application after publication