Heating method of electric water heater, server and terminal equipment

文档序号:5263 发布日期:2021-09-17 浏览:39次 中文

1. A heating method of an electric water heater is applied to a server, and the method comprises the following steps:

after a request for opening a valley power heating function sent by terminal equipment is received, determining a valley power time period corresponding to a place included in the request by using a preset corresponding relation between a specified place and the valley power time period;

when the starting time of the valley power time period is up, sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request so as to enable the electric water heater to start working;

and when the ending time of the valley power time period is up, sending a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater.

2. The method of claim 1, wherein after receiving a request sent by a terminal device to turn on a valley power heating function, the method further comprises:

and if a request for closing the valley electricity heating function sent by the terminal equipment is received, after the starting time of the valley electricity time period is reached, eliminating sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request.

3. The method of claim 1, wherein before receiving the request sent by the terminal device to turn on the valley power heating function, the method further comprises:

and after receiving the creation instruction, establishing a corresponding relation between each designated place and each valley power time period based on each designated place in the instruction and the valley power time period corresponding to each designated place.

4. A heating method of an electric water heater is applied to terminal equipment, and the method comprises the following steps:

after receiving an instruction of opening a valley electric heating function sent by a user, determining the place where the user is located; the instruction comprises electric water heater equipment information; and the number of the first and second electrodes,

sending a request for opening a valley electricity heating function to a server, so that the server sends a starting instruction to an electric water heater corresponding to the electric water heater equipment information in the request after the starting time of a valley electricity time period corresponding to a place included in the request is reached, and sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information after the ending time of the valley electricity time period is reached.

5. The method of claim 4, wherein after receiving a user-sent instruction to turn on a valley power heating function, the method further comprises:

sending a locking instruction to an electric water heater corresponding to the electric water heater equipment information in the instruction so that the electric water heater does not respond to the instruction sent by other equipment except the server;

and if an instruction for closing the valley electric heating function sent by a user is received, sending a locking cancellation instruction to the electric water heater corresponding to the electric water heater equipment information in the instruction so as to enable the electric water heater to respond to the instruction sent by other equipment except the server.

6. The method of claim 4 or 5, wherein after receiving a user-sent instruction to turn on a valley power heating function, the method further comprises:

and if an instruction for closing the valley electricity heating function sent by a user is received, sending a request for closing the valley electricity heating function to the server, so that the server cancels sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request after the starting time of the valley electricity time period is reached.

7. A server, comprising a memory and a processor, wherein:

the memory is configured to store a preset corresponding relation between a specified place and a valley power time period;

the processor configured to:

after a request for opening a valley power heating function sent by terminal equipment is received, determining a valley power time period corresponding to a place included in the request by using a preset corresponding relation between a specified place and the valley power time period;

when the starting time of the valley power time period is up, sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request so as to enable the electric water heater to start working;

and when the ending time of the valley power time period is up, sending a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater.

8. The server of claim 7, wherein the processor is further configured to:

after the request for opening the valley power heating function sent by the terminal equipment is received, if the request for closing the valley power heating function sent by the terminal equipment is received, the step of sending a starting instruction to the electric water heater corresponding to the information of the electric water heater equipment in the request is cancelled after the starting time of the valley power time period is reached.

9. The server of claim 7, wherein the processor is further configured to:

before the request for opening the valley electricity heating function sent by the receiving terminal equipment is received and after a creation instruction is received, the corresponding relation between each appointed place and each valley electricity time period is established based on each appointed place and the valley electricity time period corresponding to each appointed place in the instruction.

10. A terminal device, comprising a memory and a processor, wherein:

the memory is configured to store instructions sent by a user to turn on a valley power heating function;

the processor configured to:

after receiving an instruction of opening a valley electric heating function sent by a user, determining the place where the user is located; the instruction comprises electric water heater equipment information; and the number of the first and second electrodes,

sending a request for opening a valley electricity heating function to a server, so that the server sends a starting instruction to an electric water heater corresponding to the electric water heater equipment information in the request after the starting time of a valley electricity time period corresponding to a place included in the request is reached, and sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information after the ending time of the valley electricity time period is reached.

Background

The electric water heater is used as a household appliance commonly used in life of people, has the advantages of high efficiency, long service life and the like, and brings great convenience to the life of people. With the continuous progress of society, the requirements of people on the quality of life are higher and higher, namely, the requirements on an electric water heater are more and more intelligent and humanized.

In the prior art, most household electric water heaters are always in a starting working state, but users do not use the electric water heaters most of the time, so that the electricity is wasted.

Disclosure of Invention

The exemplary embodiments of the present disclosure provide a heating method of an electric water heater, a server and a terminal device, which are used to save the power consumption of the water heater and reduce the waste of power consumption.

A first aspect of the present disclosure provides a heating method of an electric water heater, applied in a server, the method including:

after a request for opening a valley power heating function sent by terminal equipment is received, determining a valley power time period corresponding to a place included in the request by using a preset corresponding relation between a specified place and the valley power time period;

when the starting time of the valley power time period is up, sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request so as to enable the electric water heater to start working;

and when the ending time of the valley power time period is up, sending a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater.

In this embodiment, after the valley power heating function is turned on, the valley power time period corresponding to the place included in the request is determined by using the preset corresponding relationship between the specified place and the valley power time period; when the starting time of the valley power time period is up, sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request to enable the electric water heater to start working; and when the ending time of the valley power time period is up, sending a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater. Therefore, after the valley electricity heating function is turned on, the water heater only works in the valley electricity time period corresponding to the appointed place and does not need to be in a starting-up working state all the time, so that the power consumption of the water heater is saved, and the waste of power consumption is reduced.

In one embodiment, after receiving the request sent by the terminal device to turn on the valley electric heating function, the method further includes:

and if a request for closing the valley electricity heating function sent by the terminal equipment is received, after the starting time of the valley electricity time period is reached, eliminating sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request.

In the embodiment, after the valley electric heating function is turned off and the starting time of the valley electric time period is reached, the step of sending the starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request is cancelled, so that whether the valley electric heating function is turned on by the electric water heater can be controlled according to the requirement of a user, and the user experience is improved.

In one embodiment, before the receiving the request sent by the terminal device to turn on the valley electric heating function, the method further includes:

and after receiving the creation instruction, establishing a corresponding relation between each designated place and each valley power time period based on each designated place in the instruction and the valley power time period corresponding to each designated place.

In this embodiment, the corresponding relationship between each designated location and the valley power time period is created in advance, so that the water heater is used in the valley power time period corresponding to each location, and the time period for using the water heater at each location is ensured to be more accurate.

The second aspect of the present disclosure provides a heating method of an electric water heater, applied in a terminal device, the method including:

after receiving an instruction of opening a valley electric heating function sent by a user, determining the place where the user is located; the instruction comprises electric water heater equipment information; and the number of the first and second electrodes,

sending a request for opening a valley electricity heating function to a server, so that the server sends a starting instruction to an electric water heater corresponding to the electric water heater equipment information in the request after the starting time of a valley electricity time period corresponding to a place included in the request is reached, and sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information after the ending time of the valley electricity time period is reached.

In the embodiment, after receiving an instruction sent by a user to turn on a valley electricity heating function, the location where the user is located is determined; and sending a request for opening the valley electricity heating function to the server, so that the server sends a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request after the starting time of the valley electricity time period corresponding to the place included in the request is reached, and sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information after the ending time of the valley electricity time period is reached.

In one embodiment, after receiving an instruction sent by a user to turn on a valley power heating function, the method further comprises:

sending a locking instruction to an electric water heater corresponding to the electric water heater equipment information in the instruction so that the electric water heater does not respond to the instruction sent by other equipment except the server;

and if an instruction for closing the valley electric heating function sent by a user is received, sending a locking cancellation instruction to the electric water heater corresponding to the electric water heater equipment information in the instruction so as to enable the electric water heater to respond to the instruction sent by other equipment except the server.

Therefore, after the valley point heating function is opened, the electric water heater only receives the instruction of the server, so that the water heater is ensured to work only in the valley electricity time period, and after the instruction of closing the valley electricity heating function is received, the water heater is not locked, so that the water heater responds to the instruction sent by other equipment, and the water heater can work normally.

In one embodiment, after receiving an instruction sent by a user to turn on a valley power heating function, the method further comprises:

and if an instruction for closing the valley electricity heating function sent by a user is received, sending a request for closing the valley electricity heating function to the server, so that the server cancels sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request after the starting time of the valley electricity time period is reached.

From this, come to set up valley electricity heating function according to user's demand, improve user experience.

According to a third aspect of embodiments of the present disclosure, there is provided a server comprising a memory and a processor, wherein:

the memory is configured to store a preset corresponding relation between a specified place and a valley power time period;

the processor configured to:

after a request for opening a valley power heating function sent by terminal equipment is received, determining a valley power time period corresponding to a place included in the request by using a preset corresponding relation between a specified place and the valley power time period;

when the starting time of the valley power time period is up, sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request so as to enable the electric water heater to start working;

and when the ending time of the valley power time period is up, sending a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater.

In one embodiment, the processor is further configured to:

after the request for opening the valley power heating function sent by the terminal equipment is received, if the request for closing the valley power heating function sent by the terminal equipment is received, the step of sending a starting instruction to the electric water heater corresponding to the information of the electric water heater equipment in the request is cancelled after the starting time of the valley power time period is reached.

In one embodiment, the processor is further configured to:

before the request for opening the valley electricity heating function sent by the receiving terminal equipment is received and after a creation instruction is received, the corresponding relation between each appointed place and each valley electricity time period is established based on each appointed place and the valley electricity time period corresponding to each appointed place in the instruction.

According to a fourth aspect provided by an embodiment of the present disclosure, there is provided a terminal device including a memory and a processor, wherein:

the memory is configured to store instructions sent by a user to turn on a valley power heating function;

the processor configured to:

after receiving an instruction of opening a valley electric heating function sent by a user, determining the place where the user is located; the instruction comprises electric water heater equipment information; and the number of the first and second electrodes,

sending a request for opening a valley electricity heating function to a server, so that the server sends a starting instruction to an electric water heater corresponding to the electric water heater equipment information in the request after the starting time of a valley electricity time period corresponding to a place included in the request is reached, and sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information after the ending time of the valley electricity time period is reached.

In one embodiment, the processor is further configured to:

after receiving an instruction sent by a user for opening the valley power heating function, sending a locking instruction to an electric water heater corresponding to the electric water heater equipment information in the instruction so as to enable the electric water heater not to respond to the instruction sent by other equipment except the server;

and if an instruction for closing the valley electric heating function sent by a user is received, sending a locking cancellation instruction to the electric water heater corresponding to the electric water heater equipment information in the instruction so as to enable the electric water heater to respond to the instruction sent by other equipment except the server.

In one embodiment, the processor is further configured to:

after receiving an instruction sent by a user for turning on the valley power heating function, if the instruction sent by the user for turning off the valley power heating function is received, sending a request for turning off the valley power heating function to the server, so that the server cancels the sending of a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request after the starting time of the valley power time period is reached.

According to a fifth aspect provided by embodiments of the present disclosure, there is provided a computer storage medium storing a computer program for executing the method according to the first and/or second aspect.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

FIG. 1 is a schematic diagram of a suitable scenario in accordance with an embodiment of the present disclosure;

FIG. 2 is one of the flow diagrams of a heating method of an electric water heater according to one embodiment of the present disclosure;

FIG. 3 is one of schematic terminal interface diagrams of a heating method of an electric water heater according to one embodiment of the present disclosure;

fig. 4 is a second schematic terminal interface diagram of a heating method of an electric water heater according to an embodiment of the present disclosure;

FIG. 5 is a second schematic flow chart of a heating method of an electric water heater according to an embodiment of the present disclosure;

FIG. 6 is a schematic block diagram of a server according to one embodiment of the present disclosure;

fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.

Detailed Description

To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.

The term "and/or" in the embodiments of the present disclosure describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

The application scenario described in the embodiment of the present disclosure is for more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not form a limitation on the technical solution provided in the embodiment of the present disclosure, and as a person having ordinary skill in the art knows, with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present disclosure is also applicable to similar technical problems. In the description of the present disclosure, the term "plurality" means two or more unless otherwise specified.

In the prior art, most household electric water heaters are always in a starting-up working state, but users do not use the electric water heaters most of the time, so that the electric quantity is wasted.

Therefore, the present disclosure provides a heating method of an electric water heater, after a valley electricity heating function is turned on, determining a valley electricity time period corresponding to a place included in the request by using a preset corresponding relationship between a specified place and the valley electricity time period; when the starting time of the valley power time period is up, sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request to enable the electric water heater to start working; and when the ending time of the valley power time period is up, sending a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater. Therefore, after the valley electricity heating function is turned on, the water heater only works in the valley electricity time period corresponding to the appointed place, and the working state is not required to be processed all the time, so that the power consumption of the water heater is saved, and the waste of the power consumption is reduced.

In addition, the electricity price in the off-peak electricity time period is cheaper than that in the peak electricity time period, so that the electric water heater operates in the off-peak electricity time period, and the electricity fee can be saved for users. However, if the user wants to use the peak-valley electricity prices, the user needs to apply for installation of the peak-valley electricity meters. If the user does not apply for the peak-valley ammeter, the valley electric heating function of the electric water heater in the embodiment can still be used, but the peak-valley electricity price cannot be used for calculating the electricity fee.

The peak-to-valley electricity is a new electricity price category. It divides 24 hours a day into two time periods, usually 8: 00-22: the time period 00 is called a peak electricity time period, and the execution peak electricity price is 0.568 yuan/kwh. The handle 22: 00-next day 8: the time period 00 is called a valley power time period, and the execution valley power price is 0.288 yuan/kwh. The peak-to-valley electricity time periods and the corresponding electricity prices corresponding to different cities are different, and the peak-to-valley electricity time periods and the corresponding electricity prices are not limited in this embodiment and are only used for explaining the peak-to-valley electricity. The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

As shown in fig. 1, an application scenario of a heating method of an electric water heater includes a terminal device 110, a server 120, and an electric water heater 130, where fig. 1 illustrates an example of a terminal device 110, and the number of terminal devices 110 is not limited in practice. The terminal device 110 is installed with a client 140 for displaying network resource information (e.g., a client for controlling and operating the electric water heater 130). Communication between clients 140 and server 120 may occur via a communication network. The terminal device 110 may be a mobile phone, a tablet computer, a personal computer, and the like. The server 120 may be implemented by a single server or may be implemented by a plurality of servers. The server 120 may be implemented by a physical server or may be implemented by a virtual server.

In a possible application scenario, if a user uses the client 140 in the terminal device 110 to send a request for opening the valley power heating function to the server 120, after receiving the request for the valley power heating function, the server 120 determines, by using a preset corresponding relationship between a specified location and a valley power time period, a valley power time period corresponding to the location included in the request; when the starting time of the valley power time period is reached, the server 120 sends a starting instruction to the electric water heater 130 corresponding to the electric water heater equipment information in the request, and the electric water heater 130 starts to work after receiving the starting instruction; when the ending time of the valley power time period is reached, the server 120 sends a shutdown instruction to the electric water heater 130 corresponding to the electric water heater device information, and the electric water heater 130 stops working after receiving the shutdown instruction.

Fig. 2 is a schematic flow chart of a heating method of the electric water heater of the present disclosure, which may include the following steps:

step 201: after receiving an instruction of opening a valley electric heating function sent by a user, terminal equipment determines the place where the user is located; the instruction comprises electric water heater equipment information;

the terminal equipment can determine the location of the user through the positioning function. The device information of the electric water heater may be a Media Access Control Address (MAC Address) of the electric water heater, and the like.

As shown in fig. 3, which is a schematic view of a terminal interface, a user may turn on or off the corresponding valley electric heating function through a corresponding button, and may display the current water temperature and may adjust the target water temperature to be heated. After the user turns on the button of the valley electricity heating function, the terminal equipment determines the place where the user is located through the positioning function.

If the user uses the same account to bind a plurality of electric water heaters, the user can set the valley point electric heating function of each electric water heater, as shown in fig. 4, after the user selects the corresponding electric water heater, the terminal device displays an interface as shown in fig. 3, the user can select whether to turn on the valley point electric heating function, and if the user selects to turn on the valley point electric heating function, the user can set the heating target water temperature.

Step 202: the terminal equipment sends a request for opening the valley electricity heating function to the server;

the request comprises the location (designated location) of the user and the information of the electric water heater equipment which is selected by the user and is used for turning on the valley power heating function.

In order to ensure that the electric water heater only heats during the valley power time period, in one embodiment, after the terminal device performs step 201, the terminal device sends a locking instruction to the electric water heater corresponding to the electric water heater device information in the instruction; and after receiving the locking instruction, the electric water heater does not respond to the instruction sent by other equipment except the server. Therefore, the electric water heater only receives the instruction of the server, and the electric water heater is ensured to heat only in the valley power time period after the valley power heating function is turned on.

In order to enable the electric water heater to be normally used after the valley electric heating function is turned off, in one embodiment, if the terminal device receives an instruction sent by a user to turn off the valley electric heating function, a lock cancellation instruction is sent to the electric water heater corresponding to the electric water heater device information in the instruction, and after the electric water heater receives the lock cancellation instruction, the electric water heater responds to the instruction sent by other devices except the server.

And determining the electric water heater corresponding to the electric water heater equipment information in the instruction according to the preset corresponding relation between the electric water heater equipment information and the electric water heater. The corresponding relationship between the electric water heater equipment information and the electric water heater can be shown in table 1:

equipment information of electric water heater Electric water heater
Electric water heater equipment information A Electric water heater 1
Electric water heater equipment information B Electric water heater 2
Electric water heater equipment information C Electric water heater 3

TABLE 1

The instructions sent by other devices include, but are not limited to, some or all of the following:

the method comprises the steps of sending an instruction by the terminal equipment;

the electric water heater sends an instruction through a key of the electric water heater.

For example, after receiving a valley electricity heating function opening instruction sent by a user, the terminal device sends a locking instruction to the electric water heater corresponding to the electric water heater device information in the instruction, and sends a locking canceling instruction to the electric water heater corresponding to the electric water heater device information in the instruction until receiving the valley electricity heating function closing instruction sent by the user.

Step 203: after receiving a request for opening a valley power heating function sent by terminal equipment, a server determines a valley power time period corresponding to a place included in the request by using a preset corresponding relation between a specified place and the valley power time period;

in order to ensure that each designated place heats the water heater by using the valley power time period corresponding to the place, in one embodiment, after receiving the creation instruction, the server establishes a corresponding relation between each designated place and each valley power time period based on each designated place in the instruction and the valley power time period corresponding to each designated place.

Table 2 may be a corresponding relationship between a designated location and a valley power time period:

specifying a place Off-peak electricity time period
Specifying a site 1 22:00~08:00
Location 2 designation 23:00~08:00
Location 3 is specified 23:00~07:00
Location 4 is specified 22:00~08:00

TABLE 2

Step 204: when the starting time of the valley power time period is up, the server sends a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request so as to enable the electric water heater to start working;

step 205: and when the ending time of the valley power time period is up, the server sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information so as to stop the electric water heater.

For example, if the designated place in the received request is designated place 1, determining that the valley power time period corresponding to the designated place 1 is 22: 00-08: 00, when 22:00 arrives, sending a power-on instruction to the electric water heater corresponding to the electric water heater equipment information by the server to enable the electric water heater to start heating, and when 08:00 arrives, sending a power-off instruction to the electric water heater corresponding to the electric water heater equipment information by the server to enable the electric water heater to stop working.

It should be noted that: the electric water heater can receive a starting instruction sent by the server in a state of being powered off and connected with a power supply. Because the wireless internet WiFi module is installed in the electric water heater, the wireless internet WiFi module in the electric water heater can be in long connection with the server when the electric water heater is in a power-on state, and the electric water heater can monitor instructions sent by the server all the time. Therefore, no matter whether the electric water heater is in a starting state or not, the wireless internet WiFi module in the electric water heater can keep communication with the server, and a corresponding detection mechanism ensures that the communication between the electric water heater and the server is normal.

In one embodiment, if the terminal device receives an instruction sent by a user to turn off the valley electricity heating function, a request for turning off the valley electricity heating function is sent to the server, and the server receives the request for turning off the valley electricity heating function sent by the terminal device, and when the starting time of the valley electricity time period reaches, the server cancels the sending of a starting instruction to the electric water heater corresponding to the information of the electric water heater in the request.

For example, if the designated location in the received request is the designated location 1, it is determined that the valley power time period corresponding to the designated location 1 is 22: 00-08: 00, and after the server receives the request for closing the valley power heating function sent by the terminal device, the server does not send the power-on instruction to the electric water heater corresponding to the information of the electric water heater device in the request after 22:00 arrives.

For further understanding of the technical solution of the present disclosure, the following detailed description with reference to fig. 5 may include the following steps:

step 501: after receiving an instruction for opening a valley electric heating function sent by a user, terminal equipment determines the place where the user is located, wherein the instruction comprises electric water heater equipment information;

step 502: the terminal equipment sends a request for opening the valley electricity heating function to the server;

step 503: the terminal equipment sends a locking instruction to the electric water heater corresponding to the electric water heater equipment information in the instruction;

step 504: after receiving the locking instruction, the electric water heater does not respond to the instruction sent by other equipment except the server;

step 505: after receiving a request for opening a valley power heating function sent by terminal equipment, a server determines a valley power time period corresponding to a place included in the request by using a preset corresponding relation between a specified place and the valley power time period;

step 506: when the starting time of the valley power time period is up, the server sends a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request;

step 507: after receiving the starting instruction, the electric water heater starts working;

step 508: after the ending time of the valley power time period is up, the server sends a shutdown instruction to the electric water heater corresponding to the electric water heater equipment information;

step 509: and the electric water heater stops working after receiving a shutdown instruction sent by a user.

Step 510: if the terminal equipment receives an instruction sent by a user for closing the valley electricity heating function, a locking cancellation instruction is sent to an electric water heater corresponding to the electric water heater equipment information in the instruction, and a request for closing the valley electricity heating function is sent to the server;

step 511: after receiving the locking canceling instruction, the electric water heater responds to the instruction sent by other equipment except the server;

step 512: the server receives a request for closing the valley electricity heating function sent by the terminal equipment, and cancels sending a starting instruction to the electric water heater corresponding to the electric water heater equipment information in the request after the starting time of the valley electricity time period is reached.

After a heating method of an electric water heater according to an exemplary embodiment of the present disclosure is introduced, a server and a terminal device according to another exemplary embodiment of the present disclosure are next introduced.

As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.

In some possible implementations, an electronic device in accordance with the present disclosure may include at least one processor, and at least one computer storage medium. The computer storage medium has stored therein program code, which, when executed by the processor, causes the processor to perform the steps of the heating method of the electric water heater according to various exemplary embodiments of the present disclosure described above in this specification. For example, the processor may perform step 201 and 205 as shown in FIG. 2.

A server 600 according to this embodiment of the present disclosure is described below with reference to fig. 6. The server 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.

As shown in fig. 6, the server 600 is represented in the form of a general server. The components of server 600 may include, but are not limited to: the at least one processor 601, the at least one computer storage medium 602, and the bus 603 that connects the various system components (including the computer storage medium 602 and the processor 601).

Bus 603 represents one or more of any of several types of bus structures, including a computer storage media bus or computer storage media controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.

The computer storage media 602 may include readable media in the form of volatile computer storage media, such as random access computer storage media (RAM)621 and/or cache storage media 622, and may further include read-only computer storage media (ROM) 623.

The computer storage medium 602 may also include a program/utility 625 having a set (at least one) of program modules 624, such program modules 624 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.

The server 600 may also communicate with one or more external devices 604 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the server 600, and/or with any devices (e.g., router, modem, etc.) that enable the server 600 to communicate with one or more other servers. Such communication may occur via input/output (I/O) interfaces 605. Further, the server 600 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via a network adapter 606. As shown, the network adapter 606 communicates with the other modules for the server 600 via the bus 603. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 600, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

The terminal device in the embodiment of the disclosure may be a mobile phone, a tablet computer, or the like. Fig. 7 is a schematic structural diagram of a terminal device in the present disclosure. As shown in fig. 7, the terminal device in the embodiment of the present disclosure includes: a Radio Frequency (RF) circuit 710, a power supply 720, a processor 730, a memory 740, an input unit 750, a display unit 760, a camera 770, a communication interface 780, and a Wireless Fidelity (WiFi) module 790. Among them, the wireless fidelity module 790 is a wireless network module in the present disclosure.

Those skilled in the art will appreciate that the configuration of the terminal device shown in fig. 7 does not constitute a limitation of the terminal device, and that the terminal device provided by the embodiments of the present disclosure may include more or less components than those shown, or may combine some components, or may be arranged in different components.

The following describes each component of the terminal device 700 in detail with reference to fig. 7:

the RF circuitry 710 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 710 sends the downlink data of the base station to the processor 730 for processing after receiving the downlink data; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 710 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.

In addition, the RF circuit 710 may also communicate with a network and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.

The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal device 700 realizes Access to a data network through an Access Point (AP) to which a WiFi module 790 (i.e., a wireless network module described in the foregoing of the present disclosure) can connect. The WiFi module 790 may be used for receiving and transmitting data during communication.

The terminal device 700 may be physically connected to other terminals through the communication interface 780. Optionally, the communication interface 780 is connected to the communication interfaces of the other terminals through a cable, so as to implement data transmission between the terminal device 700 and the other terminals.

The terminal device 700 can implement a communication service, and the terminal device 700 needs to have a data transmission function, that is, the terminal device 700 needs to include a communication module inside. Although fig. 7 shows communication modules such as the RF circuit 710, the WiFi module 790, and the communication interface 780, it is understood that at least one of the above components or other communication modules (such as a bluetooth module) for implementing communication exist in the terminal device 700 for data transmission.

The memory 740 may be used to store software programs and modules. The processor 730 executes various functional applications and data processing of the terminal device 700 by executing the software programs and modules stored in the memory 740, and after the processor 730 executes the program codes in the memory 740, part or all of the processes in fig. 7 of the embodiments of the present disclosure can be implemented.

Alternatively, the memory 740 may mainly include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, various application programs (such as communication application), various modules for WLAN connection, and the like; the storage data area may store data created according to the use of the terminal, and the like.

In addition, the memory 740 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The input unit 750 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal device 700.

Alternatively, the input unit 750 may include a touch panel 751 and other input devices 752.

The touch panel 751, also referred to as a touch screen, can collect touch operations of a user (such as a user's operation of a finger, a stylus, or any other suitable object or accessory on or near the touch panel 751) and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 751 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 730, and can receive and execute commands sent by the processor 730. In addition, the touch panel 751 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave.

Optionally, the other input devices 752 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

The display unit 760 may be used to display information input by a user or information provided to the user and various menus of the terminal device 700. The display unit 760 is a display system of the terminal device 700, and is configured to present an interface to implement human-computer interaction.

The display unit 760 may include a display panel 761. Alternatively, the Display panel 761 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

Further, the touch panel 751 can cover the display panel 761, and when the touch panel 751 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 730 to determine the type of the touch event, and then the processor 730 provides a corresponding visual output on the display panel 761 according to the type of the touch event.

Although in fig. 7, the touch panel 751 and the display panel 761 are implemented as two separate components to implement the input and output functions of the terminal device 700, in some embodiments, the touch panel 751 and the display panel 761 can be integrated to implement the input and output functions of the terminal device 700.

The processor 730 is a control center of the terminal device 700, connects various components using various interfaces and lines, and executes various functions and processes data of the terminal device 700 by running or executing software programs and/or modules stored in the memory 740 and calling data stored in the memory 740, thereby implementing various services based on the terminal device.

Optionally, the processor 730 may include one or more processing units. Optionally, the processor 730 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 730.

The camera 770 is configured to implement a shooting function of the terminal device 700 and shoot a picture or a video.

The terminal device 700 further comprises a power supply 720, such as a battery, for powering the various components. Optionally, the power supply 720 may be logically connected to the processor 730 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system.

Although not shown, the terminal device 700 may further include at least one sensor, which is not described in detail herein.

In some possible embodiments, various aspects of the heating method of the electric water heater provided by the present disclosure may also be implemented in the form of a program product, which includes program code for causing a computer device to perform the steps in the heating method of the electric water heater according to various exemplary embodiments of the present disclosure described above in this specification, when the program product is run on the computer device.

The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a random access computer storage media (RAM), a read-only computer storage media (ROM), an erasable programmable read-only computer storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only computer storage media (CD-ROM), an optical computer storage media piece, a magnetic computer storage media piece, or any suitable combination of the foregoing.

The heated program product of the electric water heater of the embodiments of the present disclosure may employ a portable compact disc read-only computer storage medium (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (for example, through the internet using an internet service provider).

It should be noted that although several modules of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module, in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.

Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.

As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk computer storage media, CD-ROMs, optical computer storage media, and the like) having computer-usable program code embodied therein.

The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present disclosure. 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 computer storage medium 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 computer storage medium 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.

It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, if such modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include such modifications and variations as well.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:出水控制方法、装置、热水器、存储介质及处理器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!