CN109547983B - Cooking appliance, control method and system thereof and server - Google Patents

Cooking appliance, control method and system thereof and server Download PDF

Info

Publication number
CN109547983B
CN109547983B CN201710686673.0A CN201710686673A CN109547983B CN 109547983 B CN109547983 B CN 109547983B CN 201710686673 A CN201710686673 A CN 201710686673A CN 109547983 B CN109547983 B CN 109547983B
Authority
CN
China
Prior art keywords
cooking appliance
server
cooking
data
appliances
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.)
Active
Application number
CN201710686673.0A
Other languages
Chinese (zh)
Other versions
CN109547983A (en
Inventor
李桂荣
孟城城
刘日贵
凌金星
刘礼发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Original Assignee
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd filed Critical Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority to CN201710686673.0A priority Critical patent/CN109547983B/en
Publication of CN109547983A publication Critical patent/CN109547983A/en
Application granted granted Critical
Publication of CN109547983B publication Critical patent/CN109547983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Cookers (AREA)
  • Induction Heating Cooking Devices (AREA)

Abstract

The invention discloses a cooking appliance, a control method and system thereof and a server. Wherein the method comprises the following steps: the first cooking appliance sends a connection request to a server; the first cooking appliance establishes data connection with the server or a second cooking appliance which has established data connection with the server according to the connection response generated by the server; wherein, when the connection response is used for representing that the number of the second cooking appliances reaches a preset number, the first cooking appliances are in data connection with the second cooking appliances; in case the connection response is used to characterize the number of second cooking appliances not reaching the preset number, the first cooking appliance establishes a data connection with the server. The invention solves the technical problems of the prior art that a plurality of cooking appliances are all in data connection with the server, the occupancy rate of the server resources is high, and the working power consumption is large.

Description

Cooking appliance, control method and system thereof and server
Technical Field
The invention relates to the field of household appliances, in particular to a cooking appliance, a control method and system thereof and a server.
Background
With the rapid development of the internet of things, the cooking appliances can be connected to the internet through WIFI (wireless fidelity, WIRELESS FIDELITY for short) to establish data connection with a server.
At present, a plurality of cooking appliances, such as an electric pressure cooker, an electromagnetic oven, a food processor and the like, are usually arranged in a user home, each cooking appliance can be independently connected with a server through a WIFI module to establish data connection, each cooking appliance is frequently communicated with the server, more user traffic is occupied, more server resources are occupied, and when a user group reaches a certain volume, a larger bandwidth is consumed, so that the operation cost is increased. And because the WIFI module work power consumption is great, a plurality of cooking utensil all inserts the internet through the WIFI module, and the energy consumption is great, brings extra power consumption load for the user easily.
Aiming at the problems that a plurality of cooking appliances are all in data connection with a server in the prior art, the server has high resource occupancy rate and large working power consumption, no effective solution is proposed at present.
Disclosure of Invention
The embodiment of the invention provides a cooking appliance, a control method and a control system thereof and a server, and aims to at least solve the technical problems that in the prior art, a plurality of cooking appliances are all in data connection with the server, the resource occupancy rate of the server is high, and the working power consumption is high.
According to an aspect of an embodiment of the present invention, there is provided a control method of a cooking appliance, including: the first cooking appliance sends a connection request to a server; the first cooking appliance establishes data connection with the server or a second cooking appliance which has established data connection with the server according to the connection response generated by the server; wherein, when the connection response is used for representing that the number of the second cooking appliances reaches a preset number, the first cooking appliances are in data connection with the second cooking appliances; in case the connection response is used to characterize the number of second cooking appliances not reaching the preset number, the first cooking appliance establishes a data connection with the server.
Further, the first cooking appliance is any one of a plurality of cooking appliances, and the second cooking appliance is any one or more of the plurality of cooking appliances other than the first cooking appliance.
Further, establishing a data connection between the first cooking appliance and the second cooking appliance includes: the first cooking appliance detects whether each second cooking appliance starts a first communication mode; and when any one of the second cooking appliances is detected to start the first communication mode, the first cooking appliance establishes data connection with any one of the second cooking appliances.
Further, before the first cooking appliance establishes the data connection with the second cooking appliance, in a case that the connection response is used to characterize the number of the second cooking appliances reaches the preset number, the method further includes: the first cooking appliance receives a control instruction sent by the server, and the control instruction is also sent to any one of the second cooking appliances by the server so that the any one of the second cooking appliances starts a first communication mode; the first cooking appliance starts a first communication mode according to the control instruction.
Further, the first communication mode is one of: bluetooth mode, infrared mode, zigbee mode, and RF mode.
Further, after the first cooking appliance establishes the data connection with the second cooking appliance, the method further includes: the first cooking appliance sends state data to the second cooking appliance through a first communication mode, wherein the state data is forwarded to the server through a second communication mode by the second cooking appliance; the first cooking appliance receives control data sent by the second cooking appliance through the first communication mode, wherein the control data is sent to the second cooking appliance through the second communication mode by the server.
Further, after the first cooking appliance establishes the data connection with the server, the method further includes: the first cooking appliance sends the state data to the server through the second communication mode; the first cooking appliance receives the control data transmitted from the server through the second communication mode.
Further, the second communication mode is a WIFI mode.
Further, after the first cooking appliance establishes the data connection with the second cooking appliance, the method further includes: the first cooking appliance detects whether the second cooking appliance is in an offline state; if the second cooking appliance is detected to be in an offline state, the first cooking appliance establishes a data connection with the server.
Further, the preset number is one or two.
Further, the preset number is set by the server.
According to another aspect of the embodiment of the present invention, there is also provided a control method of a cooking appliance, including: the server receives a connection request sent by a first cooking appliance; the server acquires the number of the second cooking appliances which have established the data connection; the server judges whether the number of the second cooking appliances reaches a preset number; under the condition that the number of the second cooking appliances reaches the preset number, the server generates a connection response for representing that the number of the second cooking appliances reaches the preset number so as to enable the first cooking appliances to establish data connection with the second cooking appliances; and under the condition that the number of the second cooking appliances does not reach the preset number, the server generates a connection response for representing that the number of the second cooking appliances reaches the preset number and establishes data connection with the first cooking appliances.
Further, after the server generates the connection response for characterizing that the number of the second cooking appliances reaches the preset number, the method further includes: the server sends control instructions to the first cooking appliance and the second cooking appliance, wherein the control instructions are used for controlling the first cooking appliance and the second cooking appliance to start a preset communication mode.
Further, in case that the preset number is a plurality, the server transmitting the control instruction to the second cooking appliance includes: the server obtains the distance between the first cooking appliance and each second cooking appliance to obtain a plurality of distances; the server compares the plurality of distances; the server sends a control instruction to a second cooking appliance corresponding to the minimum distance.
Further, after the server generates the connection response for characterizing that the number of the second cooking appliances reaches the preset number, the method includes: the server receives the state data sent by the first cooking appliance through the second cooking appliance; the server sends state data to the mobile terminal and receives control data sent by the mobile terminal according to the state data, wherein the state data is displayed by the mobile terminal; the server transmits the status data to the first cooking appliance through the second cooking appliance.
Further, after the server establishes the data connection with the first cooking appliance, the method further includes: the server receives state data sent by the first cooking appliance; the server sends state data to the mobile terminal and receives control data sent by the mobile terminal according to the state data, wherein the state data is displayed by the mobile terminal; the server transmits the status data to the first cooking appliance.
Further, the preset communication mode is one of the following: bluetooth mode, infrared mode, zigbee mode, and RF mode.
Further, the preset number is one or two.
Further, the server sets the preset number.
According to another aspect of the embodiment of the present invention, there is also provided a control system of a cooking appliance, including: the first cooking appliance is used for sending a connection request; the server is used for receiving the connection request and generating a connection response, wherein the connection response is used for representing whether the number of the second cooking appliances which have established data connection with the server reaches a preset number; the first cooking appliance is further configured to establish a data connection with the second cooking appliance when the connection response is used for characterizing the number of the second cooking appliances reaching the preset number, and to establish a data connection with the server when the connection response is used for characterizing the number of the second cooking appliances not reaching the preset number.
Further, the system further comprises: the first cooking appliance is any one of the plurality of cooking appliances, and the second cooking appliance is any one or more of the plurality of cooking appliances except the first cooking appliance.
According to another aspect of the embodiment of the present invention, there is also provided a cooking appliance including: a first communication device for sending a connection request to a server; the first communication device is further used for establishing data connection with the server under the condition that the connection response generated by the server is used for representing that the number of other cooking appliances which have established data connection with the server does not reach the preset number; and the second communication device is connected with the first communication device and is used for establishing data connection with other cooking appliances under the condition that the number of the other cooking appliances represented by the connection response reaches a preset number.
Further, the second communication device is further configured to send the status data to other cooking appliances and receive control data sent by the other cooking appliances, where the other cooking appliances are configured to forward the status data to the server and receive the control data sent by the server.
Further, the first communication device is further configured to send status data to the server, and receive control data sent by the server.
According to another aspect of the embodiment of the present invention, there is also provided a server including: the communication device is used for receiving a connection request sent by the first cooking appliance and establishing data connection with the second cooking appliance; the processor is connected with the communication device and used for acquiring the number of the second cooking appliances, judging whether the number of the second cooking appliances reaches the preset number, generating a connection response for representing that the number of the second cooking appliances reaches the preset number under the condition that the number of the second cooking appliances reaches the preset number, and generating a connection response for representing that the number of the second cooking appliances does not reach the preset number under the condition that the number of the second cooking appliances does not reach the preset number; the communication device is also used for establishing data connection with the first cooking appliance under the condition that the number of the second cooking appliances is judged to be less than the preset number.
Further, the processor is further configured to generate a control instruction when the number of the second cooking appliances reaches the preset number, where the control instruction is used to control the first cooking appliances and the second cooking appliances to start the preset communication module; the communication device is also used for sending control instructions to the first cooking appliance and the second cooking appliance.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the apparatus in which the storage medium is controlled to execute the control method of the cooking appliance in the above embodiments when the program runs.
According to another aspect of the embodiment of the present invention, there is also provided a processor for running a program, wherein the program executes the control method of the cooking appliance in the above embodiment when running.
In the embodiment of the invention, the first cooking appliance sends a connection request to the server, the first cooking appliance establishes data connection with the second cooking appliance according to the connection response generated by the server under the condition that the connection response is used for representing the quantity of the second cooking appliances to reach the preset quantity, and establishes data connection with the server under the condition that the connection response is used for representing the quantity of the second cooking appliances to not reach the preset quantity, so that the cooking appliances and the server perform data interaction. It is easy to notice that, since the first cooking appliance establishes a data connection with the second cooking appliance according to the connection response generated by the server, in case the number of connection responses used to characterize the second cooking appliance reaches a preset number, no data connection is established with the server anymore; and under the condition that the connection response is used for representing the quantity of the second cooking appliances and does not reach the preset quantity, the first cooking appliances and the server are directly connected in data, so that the cooking appliances can access server resources normally, the occupancy rate of the server resources is reduced, the working power consumption is reduced, the electric load is further reduced, and the technical problems that in the prior art, the cooking appliances are connected with the server in data, the occupancy rate of the server resources is high and the working power consumption is large are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of a control method of a cooking appliance according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative method of controlling a cooking appliance in the absence of a second cooking appliance according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative method of controlling a cooking appliance in the presence of a second cooking appliance according to an embodiment of the present invention;
fig. 4 is a flowchart of another control method of a cooking appliance according to an embodiment of the present invention;
Fig. 5 is a schematic view of a control system of a cooking appliance according to an embodiment of the present invention;
fig. 6 is a schematic view of a cooking appliance according to an embodiment of the present invention; and
Fig. 7 is a schematic diagram of a server according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided an embodiment of a control method of a cooking appliance, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 1 is a flowchart of a control method of a cooking appliance according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
in step S102, the first cooking appliance transmits a connection request to the server.
Alternatively, in the above-described embodiment of the present invention, the first cooking appliance is any one of a plurality of cooking appliances, and the second cooking appliance is any one or more of the plurality of cooking appliances other than the first cooking appliance.
Specifically, the cooking appliances can be an electric cooker, an electric pressure cooker, an electromagnetic oven and a cooking machine in a user's home, the server can be a cloud platform server, and the cooking appliances can be communicated with the cloud platform server through a WIFI wireless network.
In step S104, the first cooking appliance establishes a data connection with the server or the second cooking appliance that has established a data connection with the server according to the connection response generated by the server.
Wherein the first cooking appliance establishes a data connection with the second cooking appliance in case the connection response is used to characterize the number of the second cooking appliances reaching a preset number.
In case the connection response is used to characterize the number of second cooking appliances not reaching the preset number, the first cooking appliance establishes a data connection with the server.
Alternatively, in the above-described embodiment of the present invention, the preset number is one or two.
Alternatively, in the above embodiment of the present invention, the preset number is set by the server.
Specifically, the preset number may be the number of cooking appliances that are set in advance by the server and allow to communicate with the cloud platform server through the WIFI wireless network according to the server resource occupancy rate and the power consumption in the actual use process, and for example, may be one or two.
In an alternative scheme, in a user's home, often there is not only one cooking appliance, when there are a plurality of cooking appliances in the user's home, for example, there are an electric cooker, an electromagnetic oven and a cooking machine, the plurality of cooking appliances can establish data connection with a server through a wireless network, but because the WIFI device has high working power consumption and occupies very much server resources, the first cooking appliance can firstly send a connection request to the server before establishing data connection with the server, the server can detect whether data connection with other second cooking appliances is already established after receiving the connection request, if data connection with other second cooking appliances is not established, the server determines that data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes data connection with the server; if the server is connected with other second cooking appliances, the server further determines whether the number of the other cooking appliances which have established the data connection exceeds a preset number, if the number of the other cooking appliances which have established the data connection does not exceed the preset number, the server determines that the data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes the data connection with the server; if the number of the second cooking appliances exceeds the preset number, the server determines that the data connection cannot be established with the first cooking appliances, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the data connection is established between the first cooking appliances and any one of the second cooking appliances, but the data connection is not directly established with the server.
For example, the above embodiments of the present invention will be described in detail by taking a case where a user has three cooking appliances, namely, an electric rice cooker a, an induction cooker B, and a cooking machine C, in his home, and the preset number is two. Before establishing data connection with a server, the electric cooker A can firstly send a connection request to the server, after receiving the connection request, the server can detect whether the data connection with the electromagnetic oven B or the food processor C is established, if the data connection with the electromagnetic oven B or the food processor C is not established, the server determines that the data connection with the electric cooker A can be established, and at the moment, the electric cooker A directly establishes the data connection with the server; if the data connection is established with the electromagnetic oven B or the cooking machine C, the server further judges whether the data connection is established with the electromagnetic oven B and the cooking machine C, if the data connection is established with the electromagnetic oven B or the cooking machine C, the server determines that the data connection can be established with the electric cooker A, and at the moment, the electric cooker A directly establishes the data connection with the server; if the server establishes data connection with the electromagnetic oven B and the cooking machine C, the server determines that the data connection cannot be established with the electric cooker A, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the electric cooker A establishes data connection with the electromagnetic oven B or the cooking machine C, but does not directly establish data connection with the server.
According to the embodiment of the invention, the first cooking appliance sends a connection request to the server, the first cooking appliance establishes data connection with the second cooking appliance according to the connection response generated by the server when the number of the connection responses used for representing the second cooking appliances reaches the preset number, and establishes data connection with the server when the number of the connection responses used for representing the second cooking appliances does not reach the preset number, so that data interaction between the cooking appliances and the server is realized. It is easy to notice that, since the first cooking appliance establishes a data connection with the second cooking appliance according to the connection response generated by the server, in case the number of connection responses used to characterize the second cooking appliance reaches a preset number, no data connection is established with the server anymore; and under the condition that the connection response is used for representing the quantity of the second cooking appliances and does not reach the preset quantity, the first cooking appliances and the server are directly connected in data, so that the cooking appliances can access server resources normally, the occupancy rate of the server resources is reduced, the working power consumption is reduced, the electric load is further reduced, and the technical problems that in the prior art, the cooking appliances are connected with the server in data, the occupancy rate of the server resources is high and the working power consumption is large are solved.
Optionally, in the above embodiment of the present invention, step S104, the establishing data connection between the first cooking appliance and the second cooking appliance includes:
in step S1042, the first cooking appliance detects whether each of the second cooking appliances starts the first communication mode.
Optionally, in the above embodiment of the present invention, the first communication mode is one of: bluetooth mode, infrared mode, zigbee mode, and RF mode.
Specifically, in the case that the connection response is used to represent that the number of the second cooking appliances reaches the preset number, in order to reduce the occupancy rate of the server resources and reduce the working power consumption, the first cooking appliance may perform data communication with the second cooking appliance through other communication modes with low power besides the WIFI mode, for example, one of a bluetooth mode, an infrared mode, a zigbee mode and an RF (Radio Frequency) mode.
In step S1044, when it is detected that any one of the second cooking appliances starts the first communication mode, the first cooking appliance establishes a data connection with any one of the second cooking appliances.
In an alternative scheme, after the server determines that the number of the second cooking appliances for which the data connection has been established exceeds the preset number, the server may determine the second cooking appliance corresponding to the smallest distance as the cooking appliance for which the data connection is established with the first cooking appliance according to the distance between the first cooking appliance and each second cooking appliance, so that the first cooking appliance may establish the data connection with the second cooking appliance.
For example, the above embodiments of the present invention will be described in detail by taking a case that a user has three cooking appliances, namely, an electric cooker a, an electromagnetic oven B and a cooking machine C, in his home, and the preset number is two, and the first communication mode is a bluetooth mode. After the server determines that the data connection is established with both the induction cooker B and the food processor C, the server can calculate the distance between the electric cooker A and the induction cooker B and the food processor C and compare the calculated distances, and if the distance between the electric cooker A and the induction cooker B is minimum, the electric cooker A can establish the data connection with the induction cooker B through a Bluetooth mode.
Optionally, in the above embodiment of the present invention, before the first cooking appliance establishes the data connection with the second cooking appliance, in a case that the connection response is used to characterize the number of the second cooking appliances reaches the preset number, the method further includes:
In step S108, the first cooking appliance receives the control instruction sent by the server, and the control instruction is further sent to any one of the second cooking appliances by the server, so that any one of the second cooking appliances starts the first communication mode.
In step S110, the first cooking appliance starts the first communication mode according to the control command.
In an alternative solution, after the server determines that the number of second cooking appliances for which the data connection has been established exceeds the preset number, in order to ensure that the first cooking appliance establishes the data connection with the second cooking appliance, instead of directly establishing the data connection with the server, the first cooking appliance may establish the data connection with the second cooking appliance through a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, in which case the first cooking appliance and the second cooking appliance need to scan in real time, so that the first cooking appliance detects the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode. But scanning both the first and second cooking appliances in real time increases the operating power consumption of the first and second cooking appliances. In order to ensure that the first cooking appliance and the second cooking appliance are in data connection without increasing the working power consumption, the first cooking appliance and the second cooking appliance can be controlled by the server. After the server determines the second cooking appliance having the smallest distance from the first cooking appliance, the server may simultaneously transmit a control command to the first cooking appliance and the second cooking appliance having the smallest distance, and control the first cooking appliance and the second cooking appliance to start a bluetooth mode, an infrared mode, a zigbee mode, or an RF mode, so that the first cooking appliance may detect the second cooking appliance starting the bluetooth mode, the infrared mode, the zigbee mode, or the RF mode and establish a data connection with the detected second cooking appliance. The first cooking appliance and the second cooking appliance are controlled by the server without scanning in real time, so that the working power consumption is further reduced, and the electricity load is reduced.
In another alternative scheme, the server may firstly send a control instruction to the first cooking appliance, control the first cooking appliance to start a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, and then send the control instruction to the second cooking appliance with the smallest distance, and control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
In still another alternative, the server may first send a control command to the second cooking appliance with the smallest distance, control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and then send the control command to the first cooking appliance, and control the first cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication mode is a bluetooth mode. When the server calculates that the distance between the electric cooker A and the electromagnetic oven B is the smallest, the server can send control instructions to the electric cooker A and the electromagnetic oven B at the same time to control the electric cooker A and the electromagnetic oven B to start a Bluetooth mode. After the electric cooker A starts the Bluetooth mode, the method of inquiring the equipment to be connected in a self-period mode can detect that the electromagnetic oven B starts the Bluetooth mode, and the electric cooker A can establish data connection with the electromagnetic oven B through the Bluetooth mode.
Optionally, in the above embodiment of the present invention, after the first cooking appliance establishes the data connection with the second cooking appliance in step S104, the method further includes:
In step S112, the first cooking appliance transmits the status data to the second cooking appliance through the first communication mode, wherein the status data is forwarded to the server through the second communication mode by the second cooking appliance.
Optionally, in the foregoing embodiment of the present invention, the second communication mode is a WIFI mode.
Specifically, the above-mentioned state data may be a self-device ID of the first cooking appliance and related operation state data.
In step S114, the first cooking appliance receives the control data sent by the second cooking appliance through the first communication mode, wherein the control data is sent to the second cooking appliance through the second communication mode by the server.
Specifically, the control data may be control data generated when the user needs to control the first cooking appliance.
In an alternative scheme, after the first cooking appliance and the second cooking appliance are in data connection, the first cooking appliance can conduct data interaction with the second cooking appliance through a first communication mode, for example, a Bluetooth mode, and the second cooking appliance can conduct data interaction with the server through a second communication mode, namely, a WIFI mode, so that the first cooking appliance can forward data through the second cooking appliance, the effects of reducing the occupancy rate of server resources, reducing working power consumption and further reducing power consumption load are achieved.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication mode is a bluetooth mode. After the data connection between the electric cooker A and the electromagnetic cooker B is established, the electric cooker A can send state data to the electromagnetic cooker B through a Bluetooth mode, the state data is forwarded to the server through a WIFI mode by the electromagnetic cooker B, the electromagnetic cooker B can receive control data sent by the server through the WIFI mode, and the control data is forwarded to the electric cooker A through the Bluetooth mode by the electromagnetic cooker B.
Optionally, in the above embodiment of the present invention, after the first cooking appliance establishes the data connection with the server in step S104, the method further includes:
In step S116, the first cooking appliance transmits the status data to the server through the second communication mode.
In step S118, the first cooking appliance receives the control data transmitted from the server through the second communication mode.
In an alternative scheme, after the first cooking appliance and the server are in data connection, the first cooking appliance can perform data interaction with the server through the second communication mode, namely the WIFI mode, so that the first cooking appliance can access server resources normally.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication mode is a bluetooth mode. After the electric cooker A establishes data connection with the server, the electric cooker A can send state data to the server through a WIFI mode and receive control data sent by the server through the WIFI mode.
Optionally, in the above embodiment of the present invention, after the first cooking appliance establishes the data connection with the second cooking appliance in step S104, the method further includes:
In step S120, the first cooking appliance detects whether the second cooking appliance is in an offline state.
Step S122, if the second cooking appliance is detected to be in an offline state, the first cooking appliance establishes a data connection with the server.
In an alternative scheme, after the first cooking appliance and the second cooking appliance are connected in data, if the second cooking appliance is in an offline state, in order to ensure that the first cooking appliance can normally access the server resource, the first cooking appliance can be switched from the first communication mode to the second communication mode, and directly establish data connection with the server and perform data interaction with the server.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication mode is a bluetooth mode. After the data connection is established between the electric cooker A and the electromagnetic oven B, if the electromagnetic oven B is disconnected, the electric cooker A can establish data connection with the server through a WIFI mode, the electric cooker A can send state data to the server through the WIFI mode, and control data sent by the server are received through the WIFI mode.
Fig. 2 is a flowchart of an alternative control method of a cooking appliance in the absence of a second cooking appliance according to an embodiment of the present invention, and fig. 3 is a flowchart of an alternative control method of a cooking appliance in the presence of a second cooking appliance according to an embodiment of the present invention, and a preferred embodiment of the present invention will be described in detail below with reference to fig. 2 and 3 by taking a home containing a device a and a device B as an example.
As shown in fig. 2, in the absence of the second cooking appliance, the method includes the steps of:
Step S21, there is currently no second cooking appliance.
In step S22, the first cooking appliance turns on the networking mode, and connects to the server through WIFI.
Optionally, when the device a needs to be networked, the device a sends a signal that needs to be networked to the server, and the server determines that there is no second cooking appliance connected to WIFI currently, and then the device a may directly connect to the server through WIFI, so as to connect to the mobile terminal.
As shown in fig. 3, in the presence of a second cooking appliance, the method comprises the steps of:
step S31, a second cooking appliance currently exists.
In step S32, the first cooking appliance starts a networking mode and searches for the second cooking appliance through bluetooth.
Step S33, finding a second cooking appliance and establishing a data connection.
In step S34, the second cooking appliance sends the state data of the first cooking appliance transmitted through bluetooth to the server through WIFI.
In step S35, the server feeds back the control data to the second cooking appliance, which transmits the control data to the first cooking appliance through bluetooth.
Alternatively, if the home already has device B accessing the internet via WIFI and on-line, at which point device a powers up and prepares for networking, device a activates the bluetooth device and communicates with device B. The device A can transmit the ID of the device A and related data to the device B through Bluetooth, the device B transmits the data to the server through the WIFI device, the mobile terminal APP displays and controls the data transmitted by the device B through the server, the control data of the APP is transmitted to the device B through the server, and the device B recognizes the control data of the device A and transmits the control data to the device A through Bluetooth, so that remote control is realized.
It should be noted that if the device B is offline, the device a starts the WIFI device to communicate with the server, the device a may transmit its ID and related data to the server through WIFI, the mobile terminal APP displays and controls the data sent by the device B through the server, and the control data of the APP is sent to the device a through the server, thereby implementing remote control.
It should be further noted that if the offline device B is online again and it is detected that another device a is connected to WIFI under the current WIFI, the device B automatically switches to the bluetooth mode and is connected to bluetooth of the device a, and performs data connection with the server through WIFI of the device a.
Through the scheme, the cooking appliance can be ensured to normally access the server resources, the occupancy rate of the server resources can be reduced, the working power consumption is reduced, and the electricity load is further reduced.
Example 2
According to an embodiment of the present invention, there is also provided an embodiment of a control method of a cooking appliance, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 4 is a flowchart of another control method of a cooking appliance according to an embodiment of the present invention, as shown in fig. 4, the method including the steps of:
step S400, the server receives a connection request sent by the first cooking appliance.
Alternatively, in the above-described embodiment of the present invention, the first cooking appliance is any one of a plurality of cooking appliances.
Specifically, the cooking appliances can be an electric cooker, an electric pressure cooker, an electromagnetic oven and a cooking machine in a user's home, the server can be a cloud platform server, and the cooking appliances can be communicated with the cloud platform server through a WIFI wireless network.
In step S402, the server acquires the number of second cooking appliances for which data connection has been established.
Alternatively, in the above-described embodiment of the present invention, the second cooking appliance is any one or more cooking appliances other than the first cooking appliance among the plurality of cooking appliances.
In step S404, the server determines whether the number of the second cooking appliances reaches a preset number.
Alternatively, in the above-described embodiment of the present invention, the preset number is one or two.
Alternatively, in the above embodiment of the present invention, the preset number is set by the server.
Specifically, the preset number may be the number of cooking appliances that are set in advance by the server and allow to communicate with the cloud platform server through the WIFI wireless network according to the server resource occupancy rate and the power consumption in the actual use process, and for example, may be one or two.
In step S406, if the number of the second cooking appliances reaches the preset number, the server generates a connection response for indicating that the number of the second cooking appliances reaches the preset number, so that the first cooking appliances and the second cooking appliances are in data connection.
In step S408, if it is determined that the number of the second cooking appliances does not reach the preset number, the server generates a connection response for indicating that the number of the second cooking appliances does not reach the preset number, and establishes a data connection with the first cooking appliances.
In an alternative scheme, in a user's home, often there is not only one cooking appliance, when there are a plurality of cooking appliances in the user's home, for example, there are an electric cooker, an electromagnetic oven and a cooking machine, the plurality of cooking appliances can establish data connection with a server through a wireless network, but because the WIFI device has high working power consumption and occupies very much server resources, the first cooking appliance can firstly send a connection request to the server before establishing data connection with the server, the server can detect whether data connection with other second cooking appliances is already established after receiving the connection request, if data connection with other second cooking appliances is not established, the server determines that data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes data connection with the server; if the server is connected with other second cooking appliances, the server further determines whether the number of the other cooking appliances which have established the data connection exceeds a preset number, if the number of the other cooking appliances which have established the data connection does not exceed the preset number, the server determines that the data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes the data connection with the server; if the number of the second cooking appliances exceeds the preset number, the server determines that the data connection cannot be established with the first cooking appliances, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the data connection is established between the first cooking appliances and any one of the second cooking appliances, but the data connection is not directly established with the server.
For example, the above embodiments of the present invention will be described in detail by taking a case where a user has three cooking appliances, namely, an electric rice cooker a, an induction cooker B, and a cooking machine C, in his home, and the preset number is two. Before establishing data connection with a server, the electric cooker A can firstly send a connection request to the server, after receiving the connection request, the server can detect whether the data connection with the electromagnetic oven B or the food processor C is established, if the data connection with the electromagnetic oven B or the food processor C is not established, the server determines that the data connection with the electric cooker A can be established, and at the moment, the electric cooker A directly establishes the data connection with the server; if the data connection is established with the electromagnetic oven B or the cooking machine C, the server further judges whether the data connection is established with the electromagnetic oven B and the cooking machine C, if the data connection is established with the electromagnetic oven B or the cooking machine C, the server determines that the data connection can be established with the electric cooker A, and at the moment, the electric cooker A directly establishes the data connection with the server; if the server establishes data connection with the electromagnetic oven B and the cooking machine C, the server determines that the data connection cannot be established with the electric cooker A, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the electric cooker A establishes data connection with the electromagnetic oven B or the cooking machine C, but does not directly establish data connection with the server.
According to the embodiment of the invention, the server receives the connection request sent by the first cooking appliance, acquires the number of the second cooking appliances with which the data connection is established, judges whether the number of the second cooking appliances reaches the preset number, generates the connection response for representing that the number of the second cooking appliances reaches the preset number when judging that the number of the second cooking appliances reaches the preset number, so that the first cooking appliance establishes the data connection with the second cooking appliances, generates the connection response for representing that the number of the second cooking appliances does not reach the preset number when judging that the number of the second cooking appliances does not reach the preset number, and establishes the data connection with the first cooking appliances, thereby realizing the data interaction between the cooking appliances and the server. It is easy to notice that, because the data connection is established with the second cooking appliance when the number of the second cooking appliances reaches the preset number, the data connection is not established with the first cooking appliance any more; and under the condition that the number of the second cooking appliances does not reach the preset number, the data connection is directly established with the first cooking appliances, so that the cooking appliances can access server resources normally, the occupancy rate of the server resources is reduced, the working power consumption is reduced, the electricity load is further reduced, and the technical problems that in the prior art, the data connection is established between the plurality of cooking appliances and the server, the occupancy rate of the server resources is high and the working power consumption is large are solved.
Optionally, in the above embodiment of the present invention, after the server generates the connection response for characterizing that the number of the second cooking appliances reaches the preset number in step S406, the method further includes:
In step S422, the server sends a control instruction to the first cooking appliance and the second cooking appliance, wherein the control instruction is used for controlling the first cooking appliance and the second cooking appliance to start a preset communication mode.
Optionally, in the above embodiment of the present invention, the preset communication mode is one of: bluetooth mode, infrared mode, zigbee mode, and RF mode.
Specifically, in the case that the connection response is used to represent that the number of the second cooking appliances reaches the preset number, in order to reduce the occupancy rate of the server resources and reduce the working power consumption, the first cooking appliance may perform data communication with the second cooking appliance through other low-power communication modes besides the WIFI mode, for example, one of a bluetooth mode, an infrared mode, a zigbee mode and an RF mode.
In an alternative solution, after the server determines that the number of second cooking appliances for which the data connection has been established exceeds the preset number, in order to ensure that the first cooking appliance establishes the data connection with the second cooking appliance, instead of directly establishing the data connection with the server, the first cooking appliance may establish the data connection with the second cooking appliance through a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, in which case the first cooking appliance and the second cooking appliance need to scan in real time, so that the first cooking appliance detects the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode. But scanning both the first and second cooking appliances in real time increases the operating power consumption of the first and second cooking appliances. In order to ensure that the first cooking appliance and the second cooking appliance are in data connection without increasing the working power consumption, the first cooking appliance and the second cooking appliance can be controlled by the server. After the server determines that the number of the second cooking appliances for which the data connection has been established exceeds the preset number, the server may simultaneously transmit a control instruction to any one of the first and second cooking appliances, control the first and second cooking appliances to start a bluetooth mode, an infrared mode, a zigbee mode, or an RF mode, so that the first cooking appliance may detect the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode, or the RF mode, and establish the data connection with the detected second cooking appliance. The first cooking appliance and the second cooking appliance are controlled by the server without scanning in real time, so that the working power consumption is further reduced, and the electricity load is reduced.
In another alternative scheme, the server may firstly send a control instruction to the first cooking appliance, control the first cooking appliance to start a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, and then send a control instruction to any one of the second cooking appliances, and control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
In still another alternative, the server may first send a control command to any one of the second cooking appliances, control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and then send the control command to the first cooking appliance, and control the first cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
For example, the above embodiments of the present invention will be described in detail by taking a case that a user has three cooking appliances, namely, an electric cooker a, an electromagnetic oven B and a cooking machine C, in his home, and the preset number is two, and the first communication mode is a bluetooth mode. After the server determines that the data connection is established with the electromagnetic cooker B and the food processor C, the server can send control instructions to the electric cooker A and the electromagnetic cooker B at the same time to control the electric cooker A and the electromagnetic cooker B to start a Bluetooth mode. After the electric cooker A starts the Bluetooth mode, the method of inquiring the equipment to be connected in a self-period mode can detect that the electromagnetic oven B starts the Bluetooth mode, and the electric cooker A can establish data connection with the electromagnetic oven B through the Bluetooth mode.
Optionally, in the above embodiment of the present invention, in the case that the preset number is plural, step S422, the server sending the control instruction to the second cooking appliance includes:
in step S4222, the server obtains the distances between the first cooking appliance and each of the second cooking appliances, and obtains a plurality of distances.
In step S4224, the server compares the plurality of distances.
In step S4226, the server sends a control instruction to the second cooking appliance corresponding to the minimum distance.
In an alternative scheme, after the server determines that the number of the second cooking appliances for which the data connection has been established exceeds the preset number, the server may determine the second cooking appliance corresponding to the minimum distance as the cooking appliance for which the data connection is established with the first cooking appliance according to the distance between the first cooking appliance and each second cooking appliance, and simultaneously send a control command to the first cooking appliance and the second cooking appliance corresponding to the minimum distance, so that the first cooking appliance and the second cooking appliance start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance starting the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish the data connection with the detected second cooking appliance.
In another alternative scheme, the server may firstly send a control instruction to the first cooking appliance, control the first cooking appliance to start a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, and then send the control instruction to the second cooking appliance with the smallest distance, and control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
In still another alternative, the server may first send a control command to the second cooking appliance with the smallest distance, control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and then send the control command to the first cooking appliance, and control the first cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
For example, the above embodiments of the present invention will be described in detail by taking a case that a user has three cooking appliances, namely, an electric cooker a, an electromagnetic oven B and a cooking machine C, in his home, and the preset number is two, and the first communication mode is a bluetooth mode. After the server determines that the data connection is established with the electromagnetic oven B and the food processor C, the server can calculate the distance between the electric cooker A and the electromagnetic oven B and the food processor C and compare the calculated distances, and if the distance between the electric cooker A and the electromagnetic oven B is minimum, the server can send control instructions to the electric cooker A and the electromagnetic oven B at the same time to control the electric cooker A and the electromagnetic oven B to start a Bluetooth mode. After the electric cooker A starts the Bluetooth mode, the method of inquiring the equipment to be connected in a self-period mode can detect that the electromagnetic oven B starts the Bluetooth mode, and the electric cooker A can establish data connection with the electromagnetic oven B through the Bluetooth mode.
Optionally, in the above embodiment of the present invention, after the server generates the connection response for characterizing that the number of the second cooking appliances reaches the preset number in step S406, the method includes:
in step S410, the server receives the status data transmitted by the first cooking appliance through the second cooking appliance.
Specifically, the above-mentioned state data may be a self-device ID of the first cooking appliance and related operation state data.
In step S412, the server sends status data to the mobile terminal, and receives control data sent by the mobile terminal according to the status data, where the status data is displayed by the mobile terminal.
Specifically, the mobile terminal may be a smart phone (including an Android mobile phone and an IOS mobile phone), a tablet computer, an IPAD, a palm computer, a notebook computer, etc. connected to a server, and a control program APP may be installed on the mobile terminal, so that a user may control a plurality of cooking appliances through the APP; the control data may be control data generated when the user needs to control the first cooking appliance.
In step S414, the server transmits the status data to the first cooking appliance through the second cooking appliance.
In an alternative scheme, after the first cooking appliance and the second cooking appliance are in data connection, the first cooking appliance can conduct data interaction with the second cooking appliance through a first communication mode, for example, a Bluetooth mode, the second cooking appliance can conduct data interaction with the server through a second communication mode, namely, a WIFI mode, the server can forward received state data to the mobile terminal, the mobile terminal can display the state data after receiving the state data, a user can control the first cooking appliance according to the state data to generate control data, and accordingly the effect that the first cooking appliance forwards the data through the second cooking appliance is achieved, the occupancy rate of server resources is reduced, working power consumption is reduced, and the power load is further reduced.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication mode is a bluetooth mode. After the electric cooker A and the electromagnetic oven B are in data connection, the electric cooker A can send state data to the electromagnetic oven B through a Bluetooth mode, the electromagnetic oven B can forward the received state data to the server through a WIFI mode, the mobile terminal can display the state data after receiving the state data, a user can control the first cooking appliance according to the state data to generate control data, the electromagnetic oven B can receive the control data sent by the server through the WIFI mode, and the electromagnetic oven B can forward the control data to the electric cooker A through the Bluetooth mode.
Optionally, in the above embodiment of the present invention, after the server establishes the data connection with the first cooking appliance in step S408, the method further includes:
in step S416, the server receives the status data sent by the first cooking appliance.
In step S418, the server sends status data to the mobile terminal and receives control data sent by the mobile terminal according to the status data, where the status data is displayed by the mobile terminal.
In step S420, the server transmits the status data to the first cooking appliance.
In an alternative scheme, after the first cooking appliance and the server are in data connection, the first cooking appliance can perform data interaction with the server through a second communication mode, namely a WIFI mode, the server can forward the received state data to the mobile terminal, the mobile terminal can display the state data after receiving the state data, and a user can control the first cooking appliance according to the state data to generate control data, so that the first cooking appliance can normally access server resources.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication mode is a bluetooth mode. After the electric cooker A and the server are in data connection, the electric cooker A can send the state data to the server through the WIFI mode, the server can forward the received state data to the mobile terminal, the mobile terminal can display the state data after receiving the state data, a user can control the first cooking appliance according to the state data, control data are generated, and the control data sent by the server are received through the WIFI mode.
Example 3
According to an embodiment of the present invention, there is provided an embodiment of a control system of a cooking appliance.
Fig. 5 is a schematic view of a control system of a cooking appliance according to an embodiment of the present invention, as shown in fig. 5, the system including: a first cooking appliance 51, a server 53, and a second cooking appliance 55.
Wherein the first cooking appliance 51 is configured to send a connection request; the server 53 is configured to receive the connection request and generate a connection response, where the connection response is configured to characterize whether the number of second cooking appliances 55 that have established a data connection with the server reaches a preset number; the first cooking appliance is further configured to establish a data connection with the second cooking appliance when the connection response is used for characterizing the number of the second cooking appliances reaching the preset number, and to establish a data connection with the server when the connection response is used for characterizing the number of the second cooking appliances not reaching the preset number.
Optionally, in the above embodiment of the present invention, the system further includes: the first cooking appliance is any one cooking appliance of the plurality of cooking appliances, and the second cooking appliance is any one or more cooking appliances of the plurality of cooking appliances except the first cooking appliance.
Alternatively, in the above-described embodiment of the present invention, the preset number is one or two.
Alternatively, in the above embodiment of the present invention, the preset number is set by the server.
Specifically, the plurality of cooking appliances can be an electric cooker, an electric pressure cooker, an electromagnetic oven and a cooking machine in a user's home, the server can be a cloud platform server, and the plurality of cooking appliances can all communicate with the cloud platform server through a WIFI wireless network; the preset number may be the number of cooking appliances that are set in advance by the server and allow to communicate with the cloud platform server through the WIFI wireless network according to the occupancy rate of server resources and power consumption in the actual use process, for example, one or two cooking appliances may be used.
In an alternative scheme, in a user's home, often there is not only one cooking appliance, when there are a plurality of cooking appliances in the user's home, for example, there are an electric cooker, an electromagnetic oven and a cooking machine, the plurality of cooking appliances can establish data connection with a server through a wireless network, but because the WIFI device has high working power consumption and occupies very much server resources, the first cooking appliance can firstly send a connection request to the server before establishing data connection with the server, the server can detect whether data connection with other second cooking appliances is already established after receiving the connection request, if data connection with other second cooking appliances is not established, the server determines that data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes data connection with the server; if the server is connected with other second cooking appliances, the server further determines whether the number of the other cooking appliances which have established the data connection exceeds a preset number, if the number of the other cooking appliances which have established the data connection does not exceed the preset number, the server determines that the data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes the data connection with the server; if the number of the second cooking appliances exceeds the preset number, the server determines that the data connection cannot be established with the first cooking appliances, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the data connection is established between the first cooking appliances and any one of the second cooking appliances, but the data connection is not directly established with the server.
For example, the above embodiments of the present invention will be described in detail by taking a case where a user has three cooking appliances, namely, an electric rice cooker a, an induction cooker B, and a cooking machine C, in his home, and the preset number is two. Before establishing data connection with a server, the electric cooker A can firstly send a connection request to the server, after receiving the connection request, the server can detect whether the data connection with the electromagnetic oven B or the food processor C is established, if the data connection with the electromagnetic oven B or the food processor C is not established, the server determines that the data connection with the electric cooker A can be established, and at the moment, the electric cooker A directly establishes the data connection with the server; if the data connection is established with the electromagnetic oven B or the cooking machine C, the server further judges whether the data connection is established with the electromagnetic oven B and the cooking machine C, if the data connection is established with the electromagnetic oven B or the cooking machine C, the server determines that the data connection can be established with the electric cooker A, and at the moment, the electric cooker A directly establishes the data connection with the server; if the server establishes data connection with the electromagnetic oven B and the cooking machine C, the server determines that the data connection cannot be established with the electric cooker A, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the electric cooker A establishes data connection with the electromagnetic oven B or the cooking machine C, but does not directly establish data connection with the server.
According to the embodiment of the invention, the first cooking appliance sends the connection request, the server receives the connection request and generates the connection response, the connection response is used for representing whether the number of the second cooking appliances which have established the data connection with the server reaches the preset number, the first cooking appliance establishes the data connection with the second cooking appliance under the condition that the connection response is used for representing that the number of the second cooking appliances reaches the preset number, and establishes the data connection with the server under the condition that the connection response is used for representing that the number of the second cooking appliances does not reach the preset number, so that the data interaction between the cooking appliances and the server is realized. It is easy to notice that, since the first cooking appliance establishes a data connection with the second cooking appliance according to the connection response generated by the server, in case the number of connection responses used to characterize the second cooking appliance reaches a preset number, no data connection is established with the server anymore; and under the condition that the connection response is used for representing the quantity of the second cooking appliances and does not reach the preset quantity, the first cooking appliances and the server are directly connected in data, so that the cooking appliances can access server resources normally, the occupancy rate of the server resources is reduced, the working power consumption is reduced, the electric load is further reduced, and the technical problems that in the prior art, the cooking appliances are connected with the server in data, the occupancy rate of the server resources is high and the working power consumption is large are solved.
Example 4
According to an embodiment of the present invention, there is provided an embodiment of a cooking appliance.
Fig. 6 is a schematic view of a cooking appliance according to an embodiment of the present invention, as shown in fig. 6, including: a first communication means 61 and a second communication means 63.
Wherein the first communication means 61 is configured to send a connection request to the server; the first communication device is further used for establishing data connection with the server under the condition that the connection response generated by the server is used for representing that the number of other cooking appliances which have established data connection with the server does not reach the preset number; the second communication means 63 is connected to the first communication means for establishing a data connection with the other cooking appliances in case the connection response is used to characterize the number of the other cooking appliances reaches a preset number.
Alternatively, in the above-described embodiment of the present invention, the preset number is one or two.
Alternatively, in the above embodiment of the present invention, the preset number is set by the server.
Optionally, in the foregoing embodiment of the present invention, the first communication device is a WIFI device, and the second communication device is one of the following: bluetooth device, infrared device, zigbee device, and RF device.
Specifically, the plurality of cooking appliances can be an electric cooker, an electric pressure cooker, an electromagnetic oven and a cooking machine in a user's home, the server can be a cloud platform server, and the plurality of cooking appliances can all communicate with the cloud platform server through a WIFI wireless network; the preset number may be the number of cooking appliances which are preset through the server and allowed to communicate with the cloud platform server through the WIFI wireless network according to the occupancy rate of server resources and the power consumption in the actual use process, for example, one or two cooking appliances may be used; in the case that the connection response is used for representing that the number of the second cooking appliances reaches the preset number, in order to reduce the occupancy rate of server resources and reduce the working power consumption, the first cooking appliance can perform data communication with the second cooking appliance through other low-power communication devices besides the WIFI device, for example, one of a Bluetooth device, an infrared device, a zigbee device and an RF device.
In an alternative scheme, in a user's home, often there is not only one cooking appliance, when there are a plurality of cooking appliances in the user's home, for example, there are an electric cooker, an electromagnetic oven and a cooking machine, and the plurality of cooking appliances can establish data connection with a server through a wireless network, but because the WIFI device has high working power consumption and occupies very much server resources, the first cooking appliance can firstly send a connection request to the server before establishing data connection with the server, the server can detect whether data connection with other second cooking appliances is already established after receiving the connection request, if data connection with other second cooking appliances is not established, the server determines that data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes data connection with the server through the first communication device; if the server is connected with other second cooking appliances, the server further determines whether the number of the other cooking appliances which have established the data connection exceeds a preset number, if the number of the other cooking appliances which have established the data connection does not exceed the preset number, the server determines that the data connection with the first cooking appliance can be established, and the first cooking appliance establishes the data connection with the server directly through the first communication device; if the number of the second cooking appliances exceeds the preset number, the server determines that the data connection cannot be established with the first cooking appliances, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the first cooking appliances establish data connection with any one of the second cooking appliances through the second communication device without directly establishing data connection with the server.
For example, the above embodiments of the present invention will be described in detail by taking a case where a user has three cooking appliances, namely, an electric rice cooker a, an induction cooker B, and a cooking machine C, in his home, and the preset number is two. Before establishing data connection with a server, the electric cooker A can firstly send a connection request to the server, after receiving the connection request, the server can detect whether the data connection with the electromagnetic oven B or the food processor C is established, if the data connection with the electromagnetic oven B or the food processor C is not established, the server determines that the data connection with the electric cooker A can be established, and at the moment, the electric cooker A establishes the data connection with the server through a first communication device; if the data connection is established with the electromagnetic oven B or the food processor C, the server further judges whether the data connection is established with the electromagnetic oven B and the food processor C, if the data connection is established with the electromagnetic oven B or the food processor C, the server determines that the data connection can be established with the electric cooker A, and at the moment, the electric cooker A establishes the data connection with the server through the first communication device; if the server establishes data connection with the electromagnetic oven B and the cooking machine C, the server determines that the data connection cannot be established with the electric cooker A, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, at the moment, the electric cooker A establishes data connection with the electromagnetic oven B or the cooking machine C through the second communication device, and does not directly establish data connection with the server.
According to the embodiment of the invention, the first cooking appliance sends the connection request to the server through the first communication device, the data connection is established between the first communication device and the server under the condition that the connection response is used for representing the number of the second cooking appliances and does not reach the preset number, and the data connection is established between the second communication device and the second cooking appliances under the condition that the connection response is used for representing the number of the second cooking appliances and reaches the preset number, so that the data interaction between the cooking appliances and the server is realized. It is easy to notice that, since the first cooking appliance establishes a data connection with the second cooking appliance according to the connection response generated by the server, in case the number of connection responses used to characterize the second cooking appliance reaches a preset number, no data connection is established with the server anymore; and under the condition that the connection response is used for representing the quantity of the second cooking appliances and does not reach the preset quantity, the first cooking appliances and the server are directly connected in data, so that the cooking appliances can access server resources normally, the occupancy rate of the server resources is reduced, the working power consumption is reduced, the electric load is further reduced, and the technical problems that in the prior art, the cooking appliances are connected with the server in data, the occupancy rate of the server resources is high and the working power consumption is large are solved.
Optionally, in the above embodiment of the present invention, the second communication device is further configured to send the status data to other cooking appliances, and receive control data sent by the other cooking appliances, where the other cooking appliances are configured to forward the status data to the server, and receive the control data sent by the server.
In an alternative scheme, after the first cooking appliance and the second cooking appliance are in data connection, the first cooking appliance can conduct data interaction with the second cooking appliance through the second communication device, for example, the Bluetooth device, and the second cooking appliance can conduct data interaction with the server through the first communication device, namely, the WIFI device, so that the first cooking appliance can forward data through the second cooking appliance, the effects of reducing the occupancy rate of server resources, reducing working power consumption and further reducing power loads are achieved.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the second communication device is a bluetooth device, so that the above embodiments of the present invention will be described in detail. After the data connection between the electric cooker A and the electromagnetic cooker B is established, the electric cooker A can send state data to the electromagnetic cooker B through the Bluetooth device, the state data is forwarded to the server through the WIFI device by the electromagnetic cooker B, the electromagnetic cooker B can receive control data sent by the server through the WIFI device, and the control data is forwarded to the electric cooker A through the Bluetooth device by the electromagnetic cooker B.
Optionally, in the above embodiment of the present invention, the first communication device is further configured to send status data to the server, and receive control data sent by the server.
In an alternative scheme, after the first cooking appliance and the server are in data connection, the first cooking appliance can perform data interaction with the server through the first communication device, namely the WIFI device, so that the first cooking appliance can access server resources normally.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the second communication device is a bluetooth device, so that the above embodiments of the present invention will be described in detail. After the electric cooker A establishes data connection with the server, the electric cooker A can send state data to the server through the WIFI device and receive control data sent by the server through the WIFI device.
Example 5
According to an embodiment of the present invention, there is also provided an embodiment of a server.
Fig. 7 is a schematic diagram of a server according to an embodiment of the present invention, as shown in fig. 7, the server includes: a communication device 71 and a processor 73.
Wherein the communication device 71 is configured to receive a connection request sent by the first cooking appliance, and establish a data connection with the second cooking appliance; the processor 73 is connected to the communication device, and is configured to obtain the number of the second cooking appliances, determine whether the number of the second cooking appliances reaches the preset number, generate a connection response for indicating that the number of the second cooking appliances reaches the preset number if the number of the second cooking appliances reaches the preset number, and generate a connection response for indicating that the number of the second cooking appliances does not reach the preset number if the number of the second cooking appliances does not reach the preset number; the communication device is also used for establishing data connection with the first cooking appliance under the condition that the number of the second cooking appliances is judged to be less than the preset number.
Alternatively, in the above-described embodiment of the present invention, the first cooking appliance is any one of a plurality of cooking appliances, and the second cooking appliance is any one or more of the plurality of cooking appliances other than the first cooking appliance.
Alternatively, in the above-described embodiment of the present invention, the preset number is one or two.
Alternatively, in the above embodiment of the present invention, the preset number is set by the server.
Optionally, in the foregoing embodiment of the present invention, the communication device is a WIFI device.
Specifically, the plurality of cooking appliances can be an electric cooker, an electric pressure cooker, an electromagnetic oven and a cooking machine in a user's home, the server can be a cloud platform server, and the plurality of cooking appliances can all communicate with the cloud platform server through a WIFI wireless network; the preset number may be the number of cooking appliances that are set in advance by the server and allow to communicate with the cloud platform server through the WIFI wireless network according to the occupancy rate of server resources and power consumption in the actual use process, for example, one or two cooking appliances may be used.
In an alternative scheme, in a user's home, often there is not only one cooking appliance, when there are a plurality of cooking appliances in the user's home, for example, there are an electric cooker, an electromagnetic oven and a cooking machine, the plurality of cooking appliances can establish data connection with a server through a wireless network, but because the WIFI device has high working power consumption and occupies very much server resources, the first cooking appliance can firstly send a connection request to the server before establishing data connection with the server, the server can detect whether data connection with other second cooking appliances is established through a processor after receiving the connection request through the communication device, if data connection with other second cooking appliances is not established, the server determines that data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes data connection with the server; if the server is connected with other second cooking appliances, the server further determines whether the number of the other cooking appliances which have established the data connection exceeds a preset number, if the number of the other cooking appliances which have established the data connection does not exceed the preset number, the server determines that the data connection with the first cooking appliance can be established, and the first cooking appliance directly establishes the data connection with the server; if the number of the second cooking appliances exceeds the preset number, the server determines that the data connection cannot be established with the first cooking appliances, generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and generates connection responses for representing that the second cooking appliances pass through the communication device to the first cooking appliances, and at the moment, the data connection is established between the first cooking appliances and any one of the second cooking appliances, but the data connection is not directly established with the server.
For example, the above embodiments of the present invention will be described in detail by taking a case where a user has three cooking appliances, namely, an electric rice cooker a, an induction cooker B, and a cooking machine C, in his home, and the preset number is two. Before the data connection is established with the server, the electric cooker A can firstly send a connection request to the server, after the server receives the connection request through the communication device, the server can detect whether the data connection is established with the electromagnetic oven B or the cooking machine C or not through the processor, if the data connection is not established with the electromagnetic oven B or the cooking machine C, the server determines that the data connection can be established with the electric cooker A, and at the moment, the electric cooker A directly establishes the data connection with the server; if the data connection is established with the electromagnetic oven B or the cooking machine C, the server further judges whether the data connection is established with the electromagnetic oven B and the cooking machine C, if the data connection is established with the electromagnetic oven B or the cooking machine C, the server determines that the data connection can be established with the electric cooker A, and at the moment, the electric cooker A directly establishes the data connection with the server; if the server establishes data connection with the electromagnetic oven B and the cooking machine C, the server determines that the data connection cannot be established with the electric cooker A, and generates connection responses for representing that the number of the second cooking appliances reaches the preset number, and at the moment, the electric cooker A establishes data connection with the electromagnetic oven B or the cooking machine C, but does not directly establish data connection with the server.
According to the embodiment of the invention, the server receives the connection request sent by the first cooking appliance through the communication device, establishes data connection with the second cooking appliance, acquires the number of the second cooking appliances through the processor, judges whether the number of the second cooking appliances reaches the preset number, generates connection response for representing that the number of the second cooking appliances reaches the preset number when judging that the number of the second cooking appliances reaches the preset number, generates connection response for representing that the number of the second cooking appliances does not reach the preset number when judging that the number of the second cooking appliances does not reach the preset number, and establishes data connection with the first cooking appliance through the communication device, so that data interaction between the cooking appliances and the server is realized. It is easy to notice that, because the data connection is established with the second cooking appliance when the number of the second cooking appliances reaches the preset number, the data connection is not established with the first cooking appliance any more; and under the condition that the number of the second cooking appliances does not reach the preset number, the data connection is directly established with the first cooking appliances, so that the cooking appliances can access server resources normally, the occupancy rate of the server resources is reduced, the working power consumption is reduced, the electricity load is further reduced, and the technical problems that in the prior art, the data connection is established between the plurality of cooking appliances and the server, the occupancy rate of the server resources is high and the working power consumption is large are solved.
Optionally, in the foregoing embodiment of the present invention, the processor is further configured to generate a control instruction when it is determined that the number of the second cooking appliances reaches a preset number, where the control instruction is used to control the first cooking appliance and the second cooking appliance to start the preset communication module; the communication device is also used for sending control instructions to the first cooking appliance and the second cooking appliance.
Optionally, in the above embodiment of the present invention, the preset communication module is one of the following: bluetooth module, infrared module, zigbee module and RF module.
Specifically, in the case that the connection response is used for representing that the number of the second cooking appliances reaches the preset number, in order to reduce the occupancy rate of server resources and reduce the working power consumption, the first cooking appliance may perform data communication with the second cooking appliance through other communication modules with small power except the WIFI module, for example, one of a bluetooth module, an infrared module, a zigbee module and an RF module.
In an alternative solution, after the server determines that the number of second cooking appliances for which the data connection has been established exceeds the preset number, in order to ensure that the first cooking appliance establishes the data connection with the second cooking appliance, instead of directly establishing the data connection with the server, the first cooking appliance may establish the data connection with the second cooking appliance through a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, in which case the first cooking appliance and the second cooking appliance need to scan in real time, so that the first cooking appliance detects the second cooking appliance that starts the bluetooth mode, the infrared mode, the zigbee mode or the RF mode. But scanning both the first and second cooking appliances in real time increases the operating power consumption of the first and second cooking appliances. In order to ensure that the first cooking appliance and the second cooking appliance are in data connection without increasing the working power consumption, the first cooking appliance and the second cooking appliance can be controlled by the server. After the server determines that the number of the second cooking appliances for which the data connection has been established exceeds the preset number, the server may simultaneously transmit a control instruction to any one of the first and second cooking appliances, and control the first and second cooking appliances to start the bluetooth module, the infrared module, the zigbee mode, or the RF module, so that the first cooking appliance may detect the second cooking appliance for starting the bluetooth module, the infrared module, the zigbee mode, or the RF module and establish the data connection with the detected second cooking appliance. The first cooking appliance and the second cooking appliance are controlled by the server without scanning in real time, so that the working power consumption is further reduced, and the electricity load is reduced.
In another alternative scheme, after the server determines the second cooking appliance with the smallest distance from the first cooking appliance, the server may first send a control command to the first cooking appliance, control the first cooking appliance to start a bluetooth mode, an infrared mode, a zigbee mode or an RF mode, and then send the control command to the second cooking appliance with the smallest distance, control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, so that the first cooking appliance may detect the second cooking appliance with the bluetooth mode, the infrared mode, the zigbee mode or the RF mode, and establish a data connection with the detected second cooking appliance.
In still another alternative, after the server determines the second cooking appliance having the smallest distance from the first cooking appliance, the server may first transmit a control command to the second cooking appliance having the smallest distance, control the second cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode, or the RF mode, and then transmit the control command to the first cooking appliance, control the first cooking appliance to start the bluetooth mode, the infrared mode, the zigbee mode, or the RF mode so that the first cooking appliance may detect the second cooking appliance starting the bluetooth mode, the infrared mode, the zigbee mode, or the RF mode, and establish a data connection with the detected second cooking appliance.
For example, three cooking appliances including an electric cooker a, an electromagnetic oven B and a cooking machine C in a user's home are taken as an example, the preset number is two, and the first communication module is a bluetooth module, so that the above embodiments of the present invention will be described in detail. After the server determines that the data connection is established with the electromagnetic cooker B and the food processor C, the server can send control instructions to the electric cooker A and the electromagnetic cooker B at the same time, and the electric cooker A and the electromagnetic cooker B are controlled to start the Bluetooth module. After the Bluetooth module is started, the electric cooker A can inquire the equipment to be connected through a self period, and the electric cooker A can establish data connection with the electromagnetic oven B through the Bluetooth module when detecting that the electromagnetic oven B is started.
Example 6
According to an embodiment of the present invention, there is also provided an embodiment of a storage medium including a stored program, wherein the apparatus in which the storage medium is controlled to execute the control method of the cooking appliance of embodiments 1 and 2 described above when the program runs.
Example 7
According to an embodiment of the present invention, there is also provided an embodiment of a processor for running a program, wherein the program runs to execute the control method of the cooking appliance in embodiments 1 and 2 described above.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (25)

1. A control method of a cooking appliance, comprising:
The first cooking appliance sends a connection request to a server;
The first cooking appliance establishes data connection with the server or a second cooking appliance which has established data connection with the server according to the connection response generated by the server, wherein the second cooking appliance is used for transmitting data between the first cooking appliance and the server;
wherein, the first cooking appliance establishes data connection with the second cooking appliance when the connection response is used for representing that the number of the second cooking appliances reaches a preset number;
Establishing data connection between the first cooking appliance and the server under the condition that the connection response is used for representing that the number of the second cooking appliances does not reach the preset number;
Wherein the establishing of the data connection between the first cooking appliance and the second cooking appliance comprises:
the first cooking appliance detects whether each second cooking appliance starts a first communication mode;
When any one of the second cooking appliances is detected to start the first communication mode, the first cooking appliance and the any one of the second cooking appliances are in data connection;
wherein, after the first cooking appliance establishes a data connection with the second cooking appliance, the control method further comprises:
The first cooking appliance sending status data to the second cooking appliance via a first communication mode, wherein the status data is forwarded by the second cooking appliance to the server via a second communication mode;
the first cooking appliance receives control data sent by the second cooking appliance through the first communication mode, wherein the control data is sent to the second cooking appliance through the second communication mode by the server, the first communication mode is a Bluetooth mode, and the second communication mode is a WIFI mode.
2. The control method according to claim 1, wherein the first cooking appliance is any one of a plurality of cooking appliances, and the second cooking appliance is any one or more of the plurality of cooking appliances other than the first cooking appliance.
3. The control method according to claim 1, wherein, before the first cooking appliance establishes the data connection with the second cooking appliance, in a case where the connection response is used to characterize the number of the second cooking appliances reaches a preset number, the control method further comprises:
The first cooking appliance receives a control instruction sent by the server, and the control instruction is also sent to any one of the second cooking appliances by the server so that the any one of the second cooking appliances starts the first communication mode;
and the first cooking appliance starts the first communication mode according to the control instruction.
4. A control method according to claim 3, wherein the first communication mode comprises one of: infrared mode, zigbee mode, and RF mode.
5. The control method according to claim 1 or 2, characterized in that after the first cooking appliance establishes a data connection with the server, the control method further comprises:
the first cooking appliance sends state data to the server through a second communication mode;
The first cooking appliance receives control data sent by the server through the second communication mode.
6. A control method according to any one of claims 1 to 3, characterized in that after the first cooking appliance establishes a data connection with the second cooking appliance, the control method further comprises:
the first cooking appliance detects whether the second cooking appliance is in an offline state;
And if the second cooking appliance is detected to be in an offline state, the first cooking appliance establishes data connection with the server.
7. A control method according to any one of claims 1 to 3, wherein the preset number is one or two.
8. A control method according to any one of claims 1 to 3, characterized in that the preset number is set by the server.
9. A control method of a cooking appliance, comprising:
the server receives a connection request sent by a first cooking appliance;
The server obtains the number of second cooking appliances with data connection established, wherein the second cooking appliances are used for transmitting data between the first cooking appliances and the server;
the server judges whether the number of the second cooking appliances reaches a preset number or not;
When the number of the second cooking appliances reaches the preset number, the server generates a connection response for representing that the number of the second cooking appliances reaches the preset number so as to enable the first cooking appliances to establish data connection with the second cooking appliances;
Under the condition that the number of the second cooking appliances does not reach the preset number, the server generates a connection response for representing that the number of the second cooking appliances does not reach the preset number, and establishes data connection with the first cooking appliances;
Wherein the establishing of the data connection between the first cooking appliance and the second cooking appliance comprises:
the first cooking appliance detects whether each second cooking appliance starts a first communication mode;
When any one of the second cooking appliances is detected to start the first communication mode, the first cooking appliance and the any one of the second cooking appliances are in data connection;
wherein, after the first cooking appliance establishes a data connection with the second cooking appliance, the control method further comprises:
The first cooking appliance sending status data to the second cooking appliance via a first communication mode, wherein the status data is forwarded by the second cooking appliance to the server via a second communication mode;
the first cooking appliance receives control data sent by the second cooking appliance through the first communication mode, wherein the control data is sent to the second cooking appliance through the second communication mode by the server, the first communication mode is a Bluetooth mode, and the second communication mode is a WIFI mode.
10. The control method according to claim 9, wherein after the server generates the connection response for characterizing that the number of the second cooking appliances reaches the preset number, the control method further comprises:
The server sends a control instruction to the first cooking appliance and the second cooking appliance, wherein the control instruction is used for controlling the first cooking appliance and the second cooking appliance to start a preset communication mode.
11. The control method according to claim 10, wherein in the case where the preset number is plural, the server transmitting a control instruction to the second cooking appliance includes:
The server obtains the distance between the first cooking appliance and each second cooking appliance to obtain a plurality of distances;
The server compares the plurality of distances;
and the server sends the control instruction to a second cooking appliance with the smallest distance.
12. The control method according to any one of claims 9 to 11, characterized in that after the server generates a connection response for characterizing that the number of the second cooking appliances reaches the preset number, the control method comprises:
The server receives state data sent by the first cooking appliance through the second cooking appliance;
the server sends the state data to a mobile terminal and receives control data sent by the mobile terminal according to the state data, wherein the state data is displayed by the mobile terminal;
the server sends the state data to the first cooking appliance through the second cooking appliance.
13. The control method according to claim 9, characterized in that after the server establishes a data connection with the first cooking appliance, the control method further comprises:
The server receives state data sent by the first cooking appliance;
the server sends the state data to a mobile terminal and receives control data sent by the mobile terminal according to the state data, wherein the state data is displayed by the mobile terminal;
The server transmits the status data to the first cooking appliance.
14. The control method according to claim 12, wherein the preset communication mode is one of: infrared mode, zigbee mode, and RF mode.
15. The control method according to claim 12, characterized in that the preset number is one or two.
16. The control method according to claim 12, wherein the server sets the preset number.
17. A control system of a cooking appliance, comprising:
The first cooking appliance is used for sending a connection request;
A server for receiving the connection request and generating a connection response, wherein the connection response is used for representing whether the number of second cooking appliances which have established data connection with the server reaches a preset number, and the second cooking appliances are used for transmitting data between the first cooking appliances and the server;
The first cooking appliance is further configured to establish a data connection with the second cooking appliance when the connection response is used for representing that the number of the second cooking appliances reaches the preset number, and establish a data connection with the server when the connection response is used for representing that the number of the second cooking appliances does not reach the preset number;
Wherein the first cooking appliance is further configured to detect whether each second cooking appliance initiates a first communication mode; when any one of the second cooking appliances is detected to start the first communication mode, the first cooking appliance and the any one of the second cooking appliances are in data connection;
The first cooking appliance is further configured to send status data to the second cooking appliance through a first communication mode, wherein the status data is forwarded to the server through a second communication mode by the second cooking appliance, the first communication mode is a bluetooth mode, and the second communication mode is a WIFI mode;
the first cooking appliance is further configured to receive control data sent by the second cooking appliance through the first communication mode, wherein the control data is sent to the second cooking appliance through the second communication mode by the server.
18. The control system of claim 17, wherein the control system further comprises:
The first cooking appliance is any one of the plurality of cooking appliances, and the second cooking appliance is any one or more of the plurality of cooking appliances except the first cooking appliance.
19. A cooking appliance, comprising:
a first communication device for sending a connection request to a server;
the first communication device is further used for establishing data connection with the server when the connection response generated by the server is used for representing that the number of other cooking appliances which have established data connection with the server does not reach a preset number, wherein the other cooking appliances are used for transmitting data between the cooking appliances and the server;
The second communication device is connected with the first communication device and is used for establishing data connection with the other cooking appliances when the connection response is used for representing that the number of the other cooking appliances reaches the preset number;
The first communication device is further used for detecting whether each second communication device starts a first communication mode, and when any one second communication device is detected to start the first communication mode, the first communication device and any one second communication device are connected in a data mode;
The second communication device is further configured to send status data to the second communication device through a first communication mode, where the status data is forwarded to the server through a second communication mode by the second communication device, the first communication mode is a bluetooth mode, and the second communication mode is a WIFI mode;
The second communication device is further configured to receive control data sent by the second communication device through the first communication mode, where the control data is sent by the server to the second communication device through the second communication mode.
20. The cooking appliance of claim 19, wherein the cooking appliance further comprises a cooking chamber,
The second communication device is further configured to send status data to the other cooking appliances and receive control data sent by the other cooking appliances, where the other cooking appliances are configured to forward the status data to the server and receive the control data sent by the server.
21. The cooking appliance of claim 19, wherein the cooking appliance further comprises a cooking chamber,
The first communication device is further configured to send status data to the server, and receive control data sent by the server.
22. A server, comprising:
The communication device is used for receiving a connection request sent by a first cooking appliance and establishing data connection with a second cooking appliance, wherein the second cooking appliance is used for transmitting data between the first cooking appliance and the server;
The processor is connected with the communication device and used for acquiring the number of the second cooking appliances, judging whether the number of the second cooking appliances reaches a preset number, generating a connection response for representing that the number of the second cooking appliances reaches the preset number when judging that the number of the second cooking appliances reaches the preset number, and generating a connection response for representing that the number of the second cooking appliances does not reach the preset number when judging that the number of the second cooking appliances does not reach the preset number;
the communication device is further used for establishing data connection with the first cooking appliances under the condition that the number of the second cooking appliances is judged to be smaller than the preset number;
the communication device is also used for detecting whether each second cooking appliance starts a first communication mode, and when any second cooking appliance is detected to start the first communication mode, the first cooking appliance and any second cooking appliance are in data connection;
The communication device is further configured to send status data to the second cooking appliance via a first communication mode, wherein the status data is forwarded by the second cooking appliance to the server via a second communication mode;
The communication device is further configured to receive control data sent by the second cooking appliance through the first communication mode, wherein the control data is sent to the second cooking appliance through a second communication mode by the server, the first communication mode is a bluetooth mode, and the second communication mode is a WIFI mode.
23. The server according to claim 22, wherein the server is configured to,
The processor is further configured to generate a control instruction when the number of the second cooking appliances reaches the preset number, where the control instruction is used to control the first cooking appliance and the second cooking appliance to start a preset communication module;
the communication device is also used for sending the control instruction to the first cooking appliance and the second cooking appliance.
24. A storage medium comprising a stored program, wherein the program, when run, controls an apparatus in which the storage medium is located to perform the control method of the cooking appliance of any one of claims 1 to 16.
25. A processor for running a program, wherein the program runs to execute the control method of the cooking appliance according to any one of claims 1 to 16.
CN201710686673.0A 2017-08-11 2017-08-11 Cooking appliance, control method and system thereof and server Active CN109547983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710686673.0A CN109547983B (en) 2017-08-11 2017-08-11 Cooking appliance, control method and system thereof and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710686673.0A CN109547983B (en) 2017-08-11 2017-08-11 Cooking appliance, control method and system thereof and server

Publications (2)

Publication Number Publication Date
CN109547983A CN109547983A (en) 2019-03-29
CN109547983B true CN109547983B (en) 2024-05-28

Family

ID=65823210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710686673.0A Active CN109547983B (en) 2017-08-11 2017-08-11 Cooking appliance, control method and system thereof and server

Country Status (1)

Country Link
CN (1) CN109547983B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112450728B (en) * 2019-09-06 2022-08-16 佛山市顺德区美的电热电器制造有限公司 Information processing method of equipment, cloud server and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525716A (en) * 2000-01-17 2004-09-01 Egc & C��ʽ���� Internet broadcasting system and method, and internet broadcasting relay system
KR20090000152A (en) * 2007-01-17 2009-01-07 엘지전자 주식회사 Cooking system and cooking information supply method for the same
CN105337808A (en) * 2015-11-30 2016-02-17 网宿科技股份有限公司 Data transmission method, device and system
CN105454002A (en) * 2014-08-20 2016-04-06 深圳市海贝尔科技有限公司 Intelligent irrigation system based on WIFI or ZigBee and controlled by cloud server
CN105516745A (en) * 2014-09-25 2016-04-20 深圳Tcl数字技术有限公司 Terminal upgrading method and device
CN105744228A (en) * 2016-02-23 2016-07-06 福建星网锐捷通讯股份有限公司 Multi-path monitoring method, multi-path monitoring device and building intercom system based on SIP
CN105871985A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 Data access request processing method and apparatus, server, client and system
CN106168772A (en) * 2016-09-30 2016-11-30 佛山市顺德区美的电热电器制造有限公司 Recipe controls the method for cooking apparatus, system and terminal, cooking apparatus
CN106200441A (en) * 2016-09-30 2016-12-07 佛山市顺德区美的电热电器制造有限公司 A kind of cooking apparatus control method, control system, terminal and cooking apparatus
JP2016202647A (en) * 2015-04-24 2016-12-08 三菱電機株式会社 Electric rice cooker, home electric appliance, power command device and operation management system for home electric appliance
CN106377153A (en) * 2016-11-11 2017-02-08 宁波卡特马克智能厨具股份有限公司 Intelligent cooking system and cooking method
CN106412093A (en) * 2016-10-25 2017-02-15 广东欧珀移动通信有限公司 Method, device and system for uploading data
CN106453597A (en) * 2016-10-25 2017-02-22 广东欧珀移动通信有限公司 Data synchronization cycle adjustment method, device and system
CN106656693A (en) * 2016-11-14 2017-05-10 海信集团有限公司 Equipment control method, device and system
CN106850720A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 Method for upgrading software, apparatus and system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525716A (en) * 2000-01-17 2004-09-01 Egc & C��ʽ���� Internet broadcasting system and method, and internet broadcasting relay system
KR20090000152A (en) * 2007-01-17 2009-01-07 엘지전자 주식회사 Cooking system and cooking information supply method for the same
CN105454002A (en) * 2014-08-20 2016-04-06 深圳市海贝尔科技有限公司 Intelligent irrigation system based on WIFI or ZigBee and controlled by cloud server
CN105516745A (en) * 2014-09-25 2016-04-20 深圳Tcl数字技术有限公司 Terminal upgrading method and device
JP2016202647A (en) * 2015-04-24 2016-12-08 三菱電機株式会社 Electric rice cooker, home electric appliance, power command device and operation management system for home electric appliance
CN105337808A (en) * 2015-11-30 2016-02-17 网宿科技股份有限公司 Data transmission method, device and system
CN106850720A (en) * 2015-12-07 2017-06-13 中兴通讯股份有限公司 Method for upgrading software, apparatus and system
CN105871985A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 Data access request processing method and apparatus, server, client and system
CN105744228A (en) * 2016-02-23 2016-07-06 福建星网锐捷通讯股份有限公司 Multi-path monitoring method, multi-path monitoring device and building intercom system based on SIP
CN106168772A (en) * 2016-09-30 2016-11-30 佛山市顺德区美的电热电器制造有限公司 Recipe controls the method for cooking apparatus, system and terminal, cooking apparatus
CN106200441A (en) * 2016-09-30 2016-12-07 佛山市顺德区美的电热电器制造有限公司 A kind of cooking apparatus control method, control system, terminal and cooking apparatus
CN106412093A (en) * 2016-10-25 2017-02-15 广东欧珀移动通信有限公司 Method, device and system for uploading data
CN106453597A (en) * 2016-10-25 2017-02-22 广东欧珀移动通信有限公司 Data synchronization cycle adjustment method, device and system
CN106377153A (en) * 2016-11-11 2017-02-08 宁波卡特马克智能厨具股份有限公司 Intelligent cooking system and cooking method
CN106656693A (en) * 2016-11-14 2017-05-10 海信集团有限公司 Equipment control method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于UDP实时远程设备管理系统的设计与安全实现;李原野;;网络空间安全;20160710(第07期);全文 *

Also Published As

Publication number Publication date
CN109547983A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US11824677B2 (en) Smart home device control method, medium, mobile terminal and apparatus
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
US10264424B2 (en) Information processing method and central control device
EP3173888B1 (en) Method for managing household devices
US20160277205A1 (en) Internet of things (iot) communication method, communication end, and user end
EP2986038B1 (en) Method and apparatus for interworking between devices or short-range communication
KR102467780B1 (en) Method and apparatus for detecting electronic device connected to a smart plug
CN204903991U (en) Cooking utensil control system of adaptable different height above sea level
TWI524620B (en) Radiator control method
CN109890065A (en) A kind of network-building method and system of household appliance
US20160196739A1 (en) Wireless thermometer communicating with cooktop for closed loop element control
CN107911267A (en) Intelligent appliance information display position method of adjustment and device
CN109547983B (en) Cooking appliance, control method and system thereof and server
JP2016134770A (en) Electronic apparatus controller, electronic apparatus control system, electronic apparatus, and control method for electronic apparatus
KR20220050565A (en) Terminal apparatus and method for registrating electronic device thereof
WO2016093768A1 (en) Radio communication devices and methods for controlling a radio communication device
CN111954279A (en) Communication method of intelligent household appliance and intelligent household appliance
JP6097934B2 (en) Operation terminal, control method, and program
KR101376804B1 (en) Recipe changing method of electric appliance
CN110136424B (en) Equipment control method and equipment
CN107577172B (en) Control method of cooking device, cloud server and control system
CN112770379B (en) Power adjustment method and device, electronic equipment and storage medium
CN204764956U (en) Cooking utensil , intelligent terminal and culinary art system
CN111726267A (en) Connection method of household appliance, household appliance and computer storage medium
CN108259536B (en) Control method, device and system

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
GR01 Patent grant
GR01 Patent grant