CN108803396A - Function control method based on wifi and electric kettle - Google Patents
Function control method based on wifi and electric kettle Download PDFInfo
- Publication number
- CN108803396A CN108803396A CN201710289689.8A CN201710289689A CN108803396A CN 108803396 A CN108803396 A CN 108803396A CN 201710289689 A CN201710289689 A CN 201710289689A CN 108803396 A CN108803396 A CN 108803396A
- Authority
- CN
- China
- Prior art keywords
- function
- wifi
- control
- functions
- instruction
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000006870 function Effects 0.000 claims description 504
- 238000012790 confirmation Methods 0.000 claims description 15
- 238000010438 heat treatment Methods 0.000 claims description 12
- 238000004321 preservation Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 7
- 241000700605 Viruses Species 0.000 abstract description 8
- 230000009545 invasion Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000002401 inhibitory effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47J—KITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
- A47J27/00—Cooking-vessels
- A47J27/21—Water-boiling vessels, e.g. kettles
- A47J27/21008—Water-boiling vessels, e.g. kettles electrically heated
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25252—Microprocessor
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Food Science & Technology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Cookers (AREA)
Abstract
The embodiment of the invention provides a function control method based on wifi and an electric kettle, wherein the method comprises the following steps: receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function; when the first function belongs to the function of prohibiting wifi control, ignoring the function control instruction; and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction. Therefore, this embodiment only can control this function when the function that the user wants to control through wifi belongs to and allows wifi control function, and the function that the user wants to control through wifi belongs to and forbids wifi control function when, can't control the function, has avoided hacker or virus invasion and has controlled each function through wifi at will, has eliminated the potential safety hazard, has guaranteed safe in utilization.
Description
Technical Field
The embodiment of the invention relates to the technical field of household appliances, in particular to a wifi-based function control method and an electric kettle.
Background
Along with the rapid development of intelligent household appliances, the user can control the intelligent household appliances through Wifi, which provides convenience for our life, but also has certain hidden dangers, for example, when people are not on the spot, if hackers or viruses invade, the intelligent electric kettle can be controlled to work through Wifi, for example, the intelligent electric kettle can automatically heat and boil water, and the hidden dangers are brought.
Disclosure of Invention
The embodiment of the invention provides a function control method based on wifi and an electric kettle, which are used for avoiding hackers or viruses from invading and controlling each function through wifi at will, eliminating potential safety hazards and ensuring use safety.
In a first aspect, an embodiment of the present invention provides a wifi-based function control method, including:
receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function;
when the first function belongs to the function of prohibiting wifi control, ignoring the function control instruction;
and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction.
Optionally, the method further comprises:
acquiring a function setting instruction, wherein the function setting instruction is used for indicating that: m functions belonging to the function of prohibiting wifi control, and/or N functions belonging to the function of allowing wifi control; m is an integer greater than 0, and N is an integer greater than or equal to 0;
and storing the M functions belonging to the function of prohibiting the wifi control function and the N functions belonging to the function of allowing the wifi control function according to the function setting instruction.
Optionally, before controlling the first function according to the function control instruction, the method further includes:
and determining that the current time belongs to the wifi valid time of the first function.
Optionally, the function setting instruction is further configured to instruct: wifi valid time of K functions among the N functions; k is an integer greater than 0 and less than or equal to N;
the method further comprises the following steps:
storing the wifi valid time of the K functions according to the function setting instruction; the K functions include the first function.
Optionally, the wifi valid time is a first preset time period of each day; or the wifi effective time is the time after a second preset time period from the receiving time of the function setting instruction.
Optionally, the obtaining a function setting instruction includes:
and when the electric kettle is in a reset state, the user operates a physical confirmation key of the electric kettle to obtain a function setting instruction.
Optionally, the disabling wifi control functionality includes: a switching function and a heat preservation function;
the wifi enabling control function comprises: and a heating temperature control function.
In a second aspect, an embodiment of the present invention provides an electric kettle, including:
the receiving module is used for receiving a function control instruction through wifi, and the function control instruction is used for controlling a first function;
the processing module is used for ignoring the function control instruction when the first function belongs to the function of prohibiting wifi control; and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction.
Optionally, the electric kettle further comprises:
an obtaining module, configured to obtain a function setting instruction, where the function setting instruction is used to indicate: m functions belonging to the function of prohibiting wifi control, and/or N functions belonging to the function of allowing wifi control; m is an integer greater than 0, and N is an integer greater than or equal to 0;
and the storage module is used for storing the M functions which belong to the function of forbidding the wifi control function and the N functions which belong to the function of allowing the wifi control function according to the function setting instruction.
Optionally, the processing module is further configured to determine that the current time belongs to the wifi valid time of the first function before controlling the first function according to the function control instruction.
Optionally, the function setting instruction is further configured to instruct: wifi valid time of K functions among the N functions; k is an integer greater than 0 and less than or equal to N;
the storage module is further used for storing the wifi valid time of the K functions according to the function setting instruction; the K functions include the first function.
Optionally, the wifi valid time is a first preset time period of each day; or the wifi effective time is the time after a second preset time period from the receiving time of the function setting instruction.
Optionally, the obtaining module is specifically configured to: and when the electric kettle is in a reset state, the user operates a physical confirmation key of the electric kettle to obtain a function setting instruction.
Optionally, the disabling wifi control functionality includes: a switching function and a heat preservation function;
the wifi enabling control function comprises: and a heating temperature control function.
In a third aspect, an embodiment of the present invention provides an electric kettle, including: a memory and a processor;
the memory is used for storing program codes;
the processor is used for calling the program codes in the memory to execute the method provided by the embodiment of the invention in the first aspect.
The embodiment of the invention provides a function control method based on wifi and an electric kettle, wherein a function control instruction is received through wifi, and when the first function belongs to a function of prohibiting wifi control, the function control instruction is ignored; and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction. Therefore, this embodiment only can control this function when the function that the user wants to control through wifi belongs to and allows wifi control function, and the function that the user wants to control through wifi belongs to and forbids wifi control function when, can't control the function, has avoided hacker or virus invasion and has controlled each function through wifi at will, has eliminated the potential safety hazard, has guaranteed safe in utilization.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a wifi-based function control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a wifi-based function control method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a wifi-based function control method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electric kettle according to a first embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electric kettle according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electric kettle according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a wifi-based function control method according to an embodiment of the present invention, and as shown in fig. 1, the method according to the embodiment may include:
s101, receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function.
The method of the embodiment can be applied to various household appliances, for example: electric kettles, induction cookers, and the like. The present embodiment is described by taking an example of application to an electric kettle. After the electric kettle is connected to the wifi, the electric kettle can receive an instruction sent by a user through an application program (APP) in the terminal through the wifi. When the user need control first function, first function can be for any function in the insulating pot, and the user sends the function control command through the APP in the operation terminal, correspondingly, receives this function control command through wifi in this embodiment.
S102, judging whether the first function belongs to a function of prohibiting wifi control or a function of allowing wifi control. And if the function belongs to the function of inhibiting the wifi control, executing S103, and if the function belongs to the function of allowing the wifi control, executing S104.
S103, ignoring the function control instruction.
And S104, controlling the first function according to the function control instruction.
In this embodiment, it may be determined that the user needs to control the first function through wifi according to the function control instruction, then, this embodiment determines whether the first function belongs to the wifi control prohibition function, and when it is determined that the first function belongs to the wifi control prohibition function, it is described that the user is prohibited from controlling the first function through wifi, and this embodiment ignores the function control instruction and does not control the first function. When it is determined that the first function does not belong to the wifi control disabled function, that is, the first function belongs to the wifi control enabled function, it is described that the user is allowed to control the first function through wifi. Or,
the embodiment determines whether the first function belongs to the wifi enable control function, and when the first function is determined to belong to the wifi enable control function, the description shows that the user is allowed to control the first function through wifi. When it is determined that the first function does not belong to the wifi control enabled function, that is, the first function belongs to the wifi control disabled function, it is described that the user is prohibited from controlling the first function through wifi, and the embodiment ignores the function control instruction and does not control the first function.
In this embodiment, a function control instruction is received through wifi, and when the first function belongs to a function of prohibiting wifi control, the function control instruction is ignored; and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction. Therefore, this embodiment only can control this function when the function that the user wants to control through wifi belongs to and allows wifi control function, and the function that the user wants to control through wifi belongs to and forbids wifi control function when, can't control the function, has avoided hacker or virus invasion and has controlled each function through wifi at will, has eliminated the potential safety hazard, has guaranteed safe in utilization.
Fig. 2 is a flowchart of a wifi-based function control method according to a second embodiment of the present invention, and as shown in fig. 2, the method according to the present embodiment may include:
s201, acquiring a function setting instruction.
In this embodiment, a function setting instruction input by a user may be acquired, where the function setting instruction is used to instruct: m functions belonging to the wifi control disabled function, or the function setting instruction is used to indicate: the function setting instructions are used for indicating M functions belonging to the function of prohibiting wifi control and N functions belonging to the function of permitting wifi control.
One possible implementation at S201 is: and when the electric kettle is in a reset state, a confirmation key of the electric kettle is operated by a user to obtain a function setting instruction.
In this embodiment, a user operates a reset key (for example, presses the reset key) in an electric kettle, after detecting that the reset key is pressed, the electric kettle is in a reset state, then the user selects a wifi control enabling function and/or a wifi control disabling function, and then operates a physical confirmation key (for example, presses the confirmation key), and after detecting that the confirmation key is pressed, a function setting instruction is obtained, where the function setting instruction is used to indicate the wifi control enabling function and/or wifi control disabling function that the user has just selected. The physical confirmation key is a physical confirmation key of the whole electric kettle, for example, a physical confirmation key on a kettle body of the electric kettle or a physical confirmation key on a heating base of the electric kettle.
S202, storing the M functions which belong to the function of prohibiting wifi control function and the N functions which belong to the function of allowing wifi control function according to the function setting instruction.
In this embodiment, when the function setting instruction indicates that the M functions belong to the wifi control prohibition function, the present embodiment stores the M functions belonging to the wifi control prohibition function according to the function setting instruction, and stores the functions other than the M functions in all the functions in the electric kettle as the wifi control permission function. M is an integer greater than 0, and N is an integer greater than or equal to 0.
When the function setting instruction indicates that the N functions belong to the wifi allowing control function, the present embodiment stores the N functions belonging to the wifi allowing control function according to the function setting instruction, and stores the functions other than the N functions in all the functions in the electric kettle to belong to the wifi prohibiting control function.
When the function setting instruction indicates that M functions belonging to the wifi control prohibition function and N functions belonging to the wifi control permission function, this embodiment stores the M functions belonging to the wifi control prohibition function and the N functions belonging to the wifi control permission function according to the function setting instruction, and stores functions other than the N functions among all the functions in the electric kettle as the wifi control prohibition function.
By the mode, follow-up direct learning can be realized: which functions the wifi control function is disabled and which functions the wifi control function is enabled, respectively.
Optionally, the wifi inhibiting control function includes: switch function, heat preservation function. Therefore, the phenomenon that the electric kettle is dried due to the fact that the electric kettle is randomly opened when a hacker or viruses invade can be avoided, and safety is improved.
The above-described admission control functions include: and a heating temperature control function. Alternatively, the heating temperature control function includes, for example: a heating temperature control function at 60 degrees, a heating temperature control function at 80 degrees, and a heating temperature control function at 100 degrees.
It should be noted that S201 and S202 may be executed before S203, but S201 and S202 do not need to be executed each time S203 is executed.
S203, receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function.
S204, judging whether the first function belongs to the function of prohibiting wifi control or the function of allowing wifi control. If the function belongs to the wifi control disabled function, S205 is executed, and if the function belongs to the wifi control enabled function, S206 is executed.
S205, ignoring the function control instruction.
And S206, controlling the first function according to the function control instruction.
In this embodiment, the specific implementation process of S204-S206 may refer to the relevant description in the embodiment shown in fig. 1, and is not described herein again.
Optionally, before executing S206, the present embodiment further determines that the current time belongs to the wifi valid time of the first function. That is, whether the current time belongs to wifi valid time of the first function is determined, wherein the wifi valid time of the first function is time allowing the first function to be controlled through wifi, and when the current time belongs to the wifi valid time of the first function, it is indicated that the first function can be controlled through wifi at the current time, and then the first function is controlled according to the function control instruction. And when the current time does not belong to the wifi valid time of the first function, ignoring the function control instruction, namely not controlling the first function. The function control through wifi at will in arbitrary time has been avoided.
This embodiment, through above-mentioned scheme, this embodiment only when the function that the user wants to control through wifi belongs to and allows wifi control function, just can control this function, and the function that the user wants to control through wifi belongs to and forbids wifi control function when, can't control the function, has avoided hacker or virus invasion and controls each function through wifi at will, has eliminated the potential safety hazard, has guaranteed safe in utilization.
Fig. 3 is a flowchart of a wifi-based function control method according to a third embodiment of the present invention, and as shown in fig. 3, the method according to the present embodiment may include:
s301, acquiring a function setting instruction.
The function setting instruction in this embodiment is used to instruct: m functions belonging to disable wifi control functions and/or N functions belonging to enable wifi control functions.
In addition, the function setting instruction in this embodiment is also used to instruct: the wifi effective time of K functions allowing the wifi control function belongs to, and K is an integer larger than 0 and smaller than or equal to N. It should be noted that the wifi valid time of the K functions may be the same time; or different K effective time, that is, different functions correspond to different effective time; it is also possible that at least one function shares the same validity time.
Wherein, the wifi valid time of above-mentioned K functions can be that the insulating pot is in under the reset state, then the user selects the wifi valid time of K functions, and the key (for example pressing physics confirms the key) comes to the insulating pot input of operation physics again. The description of the physical confirmation key may refer to the related description in the above embodiments, and is not repeated herein.
S302, storing the M functions which belong to the function of prohibiting wifi control function and the N functions which belong to the function of allowing wifi control function according to the function setting instruction.
In this embodiment, a specific implementation process of S302 may refer to related descriptions in the embodiment shown in fig. 2, and details are not described here.
And S303, storing the wifi valid time of the K functions according to the function setting instruction.
In this embodiment, according to the function setting instruction, wifi valid time of K functions that allow the wifi control function is determined. The wifi valid times of the K functions include wifi valid times of the following first function.
S304, receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function.
In this embodiment, a specific implementation process of S304 may refer to related descriptions in the embodiment shown in fig. 1, and is not described herein again.
S305, judging whether the current time belongs to the wifi valid time of the first function, and judging whether the first function belongs to the wifi control prohibition function or the wifi control permission function. If the current time does not belong to the wifi valid time of the first function, and/or the first function belongs to the wifi control prohibition function, S306 is executed. If the current time belongs to the wifi valid time of the first function, and the first function belongs to the wifi allowed control function, S307 is executed.
S306, ignoring the function control instruction.
And S307, controlling the first function according to the function control instruction.
In this embodiment, it is determined that the first function needs to be controlled according to the function control instruction, and it is determined whether the first function belongs to the wifi enable control function, and when the first function does not belong to the wifi enable control function, that is, the first function belongs to the wifi disable control function, the function control instruction is ignored in this embodiment. When the first function belongs to the wifi control enabled function, since the wifi valid time of the first function has been determined in the above S303. Therefore, the embodiment can determine whether the current time belongs to the wifi valid time of the first function, and if the current time belongs to the wifi valid time of the first function, the embodiment controls the first function according to the function control instruction. If the current time does not belong to the wifi valid time of the first function, the function control instruction is ignored in the embodiment.
Optionally, the wifi valid time is a first preset time period (for example, day or night or all day) of each day, for example: 6:00-22:00 or 22:00-6:00 or 0:00-24: 00.
Optionally, the wifi valid time is a time after a second preset time period from the time of receiving the function setting instruction. The second preset time period is, for example, half a day or one or two days, which means that it is valid after half a day or one or two days from the time when the function setting instruction is acquired. Therefore, the scheme of the wifi control function can be reserved is realized, the use of the user is facilitated, and the use experience effect is improved.
This embodiment, through above-mentioned scheme, this embodiment only when the function that the user wants to control through wifi belongs to and allows wifi control function, just can control this function, and the function that the user wants to control through wifi belongs to and forbids wifi control function when, can't control the function, has avoided hacker or virus invasion and controls each function through wifi at will, has eliminated the potential safety hazard, has guaranteed safe in utilization.
Fig. 4 is a schematic structural diagram of an electric kettle according to a first embodiment of the present invention, and as shown in fig. 4, the apparatus according to the present embodiment may include: a receiving module 11 and a processing module 12.
The receiving module 11 is configured to receive a function control instruction through wifi, where the function control instruction is used to control a first function;
the processing module 12 is configured to ignore the function control instruction when the first function belongs to the wifi prohibition control function; and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments of the present invention, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an electric kettle according to a second embodiment of the present invention, and as shown in fig. 5, the apparatus according to the present embodiment may further include, on the basis of the embodiment of the apparatus shown in fig. 4: an acquisition module 13 and a storage module 14.
An obtaining module 13, configured to obtain a function setting instruction, where the function setting instruction is used to instruct: m functions belonging to the function of prohibiting wifi control, and/or N functions belonging to the function of allowing wifi control; m is an integer greater than 0, and N is an integer greater than or equal to 0;
and the storage module 14 is used for storing the M functions which belong to the function of prohibiting the wifi control function and the N functions which belong to the function of allowing the wifi control function according to the function setting instruction.
Optionally, the processing module 12 is further configured to determine that the current time belongs to the wifi valid time of the first function before controlling the first function according to the function control instruction.
Optionally, the function setting instruction is further configured to instruct: wifi valid time of K functions among the N functions; k is an integer greater than 0 and less than or equal to N;
the storage module 14 is further configured to store the wifi valid time of the first function according to the function setting instruction; the K functions include the first function.
Optionally, the wifi valid time is a first preset time period of each day; or the wifi effective time is the time after a second preset time period from the receiving time of the function setting instruction.
Optionally, the obtaining module 13 is specifically configured to: and when the electric kettle is in a reset state, the user operates a physical confirmation key of the electric kettle to obtain a function setting instruction.
Optionally, the disabling wifi control functionality includes: a switching function and a heat preservation function;
the wifi enabling control function comprises: and a heating temperature control function.
The electric kettle of this embodiment may be used to implement the technical solutions of the above method embodiments of the present invention, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of an electric kettle according to a third embodiment of the present invention, and as shown in fig. 6, the apparatus according to the third embodiment may include: a memory 21 and a processor 22; the memory 21 is communicatively coupled to the processor 22. The memory 21 is used for storing program codes.
The processor 22 is configured to call the program code in the memory 21 to perform:
receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function;
when the first function belongs to the function of prohibiting wifi control, ignoring the function control instruction;
and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction.
Optionally, the processor 22 is further configured to: acquiring a function setting instruction, wherein the function setting instruction is used for indicating that: m functions belonging to the function of prohibiting wifi control, and/or N functions belonging to the function of allowing wifi control; m is an integer greater than 0, and N is an integer greater than or equal to 0;
according to the function setting instruction, the M functions belonging to the function of prohibiting wifi control and the N functions belonging to the function of permitting wifi control are stored in the memory 21.
And the memory 21 is also used for storing the M functions which belong to the function of forbidding the wifi control function and the N functions which belong to the function of allowing the wifi control function.
Optionally, the processor 22 is further configured to determine that the current time belongs to the wifi valid time of the first function before controlling the first function according to the function control instruction.
Optionally, the function setting instruction is further configured to instruct: wifi valid time of K functions among the N functions; k is an integer greater than 0 and less than or equal to N;
the processor 22 is further configured to store the wifi valid times of the K functions in the memory 21 according to the function setting instruction.
And the memory 21 is also used for storing the wifi valid time of the K functions.
The K functions include the first function.
Optionally, the wifi valid time is a first preset time period of each day; or the wifi effective time is the time after a second preset time period from the receiving time of the function setting instruction.
Optionally, the processor is specifically configured to: and when the electric kettle is in a reset state, the user operates a physical confirmation key of the electric kettle to obtain a function setting instruction.
Optionally, the disabling wifi control functionality includes: a switching function and a heat preservation function;
the wifi enabling control function comprises: and a heating temperature control function.
The memory 21 and the processor 22 are components of a single chip computer in the electric kettle.
The electric kettle of this embodiment may be used to implement the technical solutions of the above method embodiments of the present invention, and the implementation principles and technical effects are similar, which are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (15)
1. A wifi-based function control method is characterized by comprising the following steps:
receiving a function control instruction through wifi, wherein the function control instruction is used for controlling a first function;
when the first function belongs to the function of prohibiting wifi control, ignoring the function control instruction;
and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction.
2. The method of claim 1, further comprising:
acquiring a function setting instruction, wherein the function setting instruction is used for indicating that: m functions belonging to the function of prohibiting wifi control, and/or N functions belonging to the function of allowing wifi control; m is an integer greater than 0, and N is an integer greater than or equal to 0;
and storing the M functions belonging to the function of prohibiting the wifi control function and the N functions belonging to the function of allowing the wifi control function according to the function setting instruction.
3. The method according to claim 2, wherein before controlling the first function according to the function control instruction, further comprising:
and determining that the current time belongs to the wifi valid time of the first function.
4. The method of claim 3, wherein the function setting instruction is further configured to instruct: wifi valid time of K functions among the N functions; k is an integer greater than 0 and less than or equal to N;
the method further comprises the following steps:
storing the wifi valid time of the K functions according to the function setting instruction; the K functions include the first function.
5. The method of claim 4, wherein the wifi valid time is a first preset time period of each day; or the wifi effective time is the time after a second preset time period from the receiving time of the function setting instruction.
6. The method according to any one of claims 2 to 5, wherein the obtaining of the function setting instruction comprises:
and when the electric kettle is in a reset state, the user operates a physical confirmation key of the electric kettle to obtain a function setting instruction.
7. The method of any of claims 1-5, wherein disabling wifi control functionality comprises: a switching function and a heat preservation function;
the wifi enabling control function comprises: and a heating temperature control function.
8. An electric kettle, comprising:
the receiving module is used for receiving a function control instruction through wifi, and the function control instruction is used for controlling a first function;
the processing module is used for ignoring the function control instruction when the first function belongs to the function of prohibiting wifi control; and when the first function belongs to the wifi control allowing function, controlling the first function according to the function control instruction.
9. An electric kettle as claimed in claim 8, further comprising:
an obtaining module, configured to obtain a function setting instruction, where the function setting instruction is used to indicate: m functions belonging to the function of prohibiting wifi control, and/or N functions belonging to the function of allowing wifi control; m is an integer greater than 0, and N is an integer greater than 0;
and the storage module is used for storing the M functions which belong to the function of forbidding the wifi control function and the N functions which belong to the function of allowing the wifi control function according to the function setting instruction.
10. The electric kettle of claim 9, wherein the processing module is further configured to determine that the current time falls within wifi valid time of the first function before controlling the first function according to the function control instruction.
11. An electric kettle according to claim 10, wherein the function setting instructions are further for instructing: wifi valid time of K functions among the N functions; k is an integer greater than 0 and less than or equal to N;
the storage module is further used for storing the wifi valid time of the K functions according to the function setting instruction; the K functions include the first function.
12. An electric kettle according to claim 11, wherein the wifi valid time is a first preset time period of each day; or the wifi effective time is the time after a second preset time period from the receiving time of the function setting instruction.
13. An electric kettle as claimed in any one of claims 9 to 12, wherein the acquisition module is specifically configured to: and when the electric kettle is in a reset state, the user operates a physical confirmation key of the electric kettle to obtain a function setting instruction.
14. An electric kettle as claimed in any one of claims 8 to 12, wherein said disabling of wifi control functionality comprises: a switching function and a heat preservation function;
the wifi enabling control function comprises: and a heating temperature control function.
15. An electric kettle, comprising: a memory and a processor;
the memory is used for storing program codes;
the processor, configured to invoke the program code in the memory to perform the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710289689.8A CN108803396A (en) | 2017-04-27 | 2017-04-27 | Function control method based on wifi and electric kettle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710289689.8A CN108803396A (en) | 2017-04-27 | 2017-04-27 | Function control method based on wifi and electric kettle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108803396A true CN108803396A (en) | 2018-11-13 |
Family
ID=64070273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710289689.8A Pending CN108803396A (en) | 2017-04-27 | 2017-04-27 | Function control method based on wifi and electric kettle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108803396A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135767A (en) * | 2010-01-26 | 2011-07-27 | 张乃辉 | Method and device for remote control device |
CN204143522U (en) * | 2014-10-17 | 2015-02-04 | 广东美的生活电器制造有限公司 | Communication link, household electrical appliance and electric kettle |
CN204215241U (en) * | 2014-11-03 | 2015-03-18 | 九阳股份有限公司 | A kind of soymilk machine |
CN104808623A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Safe control method of network household appliance |
US20150305551A1 (en) * | 2014-03-14 | 2015-10-29 | Spectrum Brands, Inc. | Beverage appliance for use with a remote communication device |
CN105573127A (en) * | 2015-05-29 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Remote control permission control method and device |
CN105581641A (en) * | 2014-10-22 | 2016-05-18 | 广东美的生活电器制造有限公司 | Electric kettle, control method of electric kettle and electric kettle system |
CN205359205U (en) * | 2015-12-08 | 2016-07-06 | 山东科技大学 | Take purifier's full -automatic remote control's electric kettle |
CN106406107A (en) * | 2015-08-03 | 2017-02-15 | 中兴通讯股份有限公司 | Household electrical appliance control method and apparatus, wireless route device, and household electrical appliance |
-
2017
- 2017-04-27 CN CN201710289689.8A patent/CN108803396A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135767A (en) * | 2010-01-26 | 2011-07-27 | 张乃辉 | Method and device for remote control device |
US20150305551A1 (en) * | 2014-03-14 | 2015-10-29 | Spectrum Brands, Inc. | Beverage appliance for use with a remote communication device |
CN204143522U (en) * | 2014-10-17 | 2015-02-04 | 广东美的生活电器制造有限公司 | Communication link, household electrical appliance and electric kettle |
CN105581641A (en) * | 2014-10-22 | 2016-05-18 | 广东美的生活电器制造有限公司 | Electric kettle, control method of electric kettle and electric kettle system |
CN204215241U (en) * | 2014-11-03 | 2015-03-18 | 九阳股份有限公司 | A kind of soymilk machine |
CN104808623A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Safe control method of network household appliance |
CN105573127A (en) * | 2015-05-29 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Remote control permission control method and device |
CN106406107A (en) * | 2015-08-03 | 2017-02-15 | 中兴通讯股份有限公司 | Household electrical appliance control method and apparatus, wireless route device, and household electrical appliance |
CN205359205U (en) * | 2015-12-08 | 2016-07-06 | 山东科技大学 | Take purifier's full -automatic remote control's electric kettle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102300982B1 (en) | Method for controlling a cooking appliance, and cooking appliance | |
KR102191626B1 (en) | Electric rice cooker heating temperature control method, device and electric rice cooker | |
RU2654907C2 (en) | Method for changing over domestic appliances between “at-home” mode and “not-at-home” mode, portable control device and system | |
EP3686338A1 (en) | Clothing processing device and control method therefor | |
CN105045506B (en) | A kind of operation processing method of mobile terminal, system and mobile terminal | |
CN108040352B (en) | Method for processing business, device and mobile terminal under a kind of hybrid network standard | |
CN108415272A (en) | A kind of inter-linked controlling method and device of cooking appliance | |
CN106213970B (en) | A kind of method and cooking equipment switching rice-cooking function during cooking | |
CN105446149A (en) | Network distribution method for household electrical appliance, household electrical appliance and mobile terminal | |
CN105573127A (en) | Remote control permission control method and device | |
CN106709292A (en) | Terminal permission control method and system | |
WO2017166421A1 (en) | Login account switching management method and terminal | |
CN108255086A (en) | A kind of household electric appliance control method and device | |
CN108803396A (en) | Function control method based on wifi and electric kettle | |
CN109218529A (en) | A kind of intelligent electric kettle control system and method based on cell phone application | |
CN105559508A (en) | Control method and system for cooking utensil | |
CN105307285B (en) | Networking setting method and system of household appliance, terminal and household appliance | |
CN111142394B (en) | Control method, device and equipment of cooking equipment and computer readable medium | |
US20130200706A1 (en) | Energy management system and method for controlling high current draws from variable current devices commonly connectable to an electrical circuit | |
CN109668191B (en) | Control method of induction cooker and induction cooker | |
CN111102611B (en) | Heating control method, heating control device, household appliance and computer-readable storage medium | |
CN108931940A (en) | A kind of method and device controlling cooking equipment | |
CN107172732A (en) | Work control method of induction cooker and induction cooker | |
CN107957689B (en) | Control method and electric pressure cooker | |
CN115868813A (en) | Safe use method of food processor and related device |
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: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |