CN111722541A - Cooking equipment grouping and control method, device, equipment and medium - Google Patents
Cooking equipment grouping and control method, device, equipment and medium Download PDFInfo
- Publication number
- CN111722541A CN111722541A CN201910208193.2A CN201910208193A CN111722541A CN 111722541 A CN111722541 A CN 111722541A CN 201910208193 A CN201910208193 A CN 201910208193A CN 111722541 A CN111722541 A CN 111722541A
- Authority
- CN
- China
- Prior art keywords
- cooking
- equipment
- grouping
- level
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Cookers (AREA)
Abstract
The application provides a method, a device, equipment and a medium for grouping and controlling cooking equipment, wherein the grouping method comprises the following steps: acquiring equipment information of cooking equipment to be grouped, wherein the equipment information at least comprises the equipment number of the cooking equipment, the type information of the cooking equipment and the model information of the cooking equipment; and according to the equipment information, the cooking equipment is stored in groups. The control method comprises the following steps: acquiring an operation instruction; identifying a target group corresponding to the operation instruction according to the operation instruction; and extracting the equipment number of at least one cooking equipment to be controlled from the target group, and sending a control instruction to the at least one cooking equipment. According to the method, the cooking devices are grouped according to the device information of the cooking devices, and then the cooking devices in the same target group are controlled to perform corresponding operation, so that the steps of operating the cooking devices are simplified, and the efficiency of controlling the cooking devices is improved.
Description
Technical Field
The application relates to the technical field of electric appliance control, in particular to a cooking equipment grouping and control method, device, equipment and medium.
Background
At present, the popularity of intelligent cooking equipment is gradually increased, and a large amount of intelligent cooking equipment is used in more and more places to automatically cook food, for example, school canteens or unmanned restaurants and the like. In the related art, when food is cooked by using batch intelligent cooking devices, a user generally needs to control the cooking devices one by one to perform corresponding operations.
However, when the food is cooked by the method of controlling the cooking apparatus, the cooking process is complicated, and a lot of time and energy are required for a user, so a solution for improving the cooking efficiency is needed.
Disclosure of Invention
The grouping method of the cooking equipment stores the cooking equipment in groups according to equipment information, stores the cooking equipment with the same cooking function or cooking parameter in the same group, and is convenient for quickly acquiring all the cooking equipment capable of executing an operation instruction when the operation instruction is subsequently received. Further, the control method of the cooking equipment sends the control instruction to each cooking equipment in the target group according to the operation instruction, so that each cooking equipment is controlled in batch to execute the operation instruction, the time for controlling the cooking equipment is shortened, and the cooking efficiency is improved.
The embodiment of the first aspect of the application provides a grouping method of cooking devices, which comprises the following steps:
acquiring equipment information of cooking equipment to be grouped, wherein the equipment information at least comprises the equipment number of the cooking equipment, the type information of the cooking equipment and the model information of the cooking equipment;
and according to the equipment information, the cooking equipment is stored in groups.
An embodiment of a second aspect of the present application provides a control method of a cooking apparatus, including:
acquiring an operation instruction;
identifying a target group corresponding to the operation instruction according to the operation instruction;
and extracting the equipment number of at least one cooking equipment to be controlled from the target group, and sending a control instruction to the at least one cooking equipment.
Another embodiment of the present application provides a grouping device for cooking apparatuses, including:
the cooking equipment grouping method comprises an equipment information acquisition module, a classification information acquisition module and a classification information acquisition module, wherein the equipment information acquisition module is used for acquiring equipment information of cooking equipment to be grouped, and the equipment information at least comprises equipment numbers of the cooking equipment, class information to which the cooking equipment belongs and model information of the cooking equipment;
and the grouping storage module is used for grouping and storing the cooking equipment according to the equipment information.
Another embodiment of the present application provides a control device of a cooking apparatus, including:
the instruction acquisition module is used for acquiring an operation instruction;
the group identification module is used for identifying a target group corresponding to the operation instruction according to the operation instruction;
and the control module is used for extracting the equipment number of at least one cooking equipment to be controlled from the target group and sending a control instruction to the at least one cooking equipment.
An embodiment of another aspect of the present application provides an electronic device, including a processor and a memory, where the processor executes a program corresponding to an executable program code by reading the executable program code stored in the memory, so as to implement a grouping method of cooking devices according to an embodiment of a first aspect or implement a control method of cooking devices according to an embodiment of a second aspect.
Another embodiment of the present application proposes a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements a grouping method of cooking apparatuses as described in the first embodiment or implements a control method of cooking apparatuses as described in the second embodiment.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1. and according to the equipment information, the cooking equipment is stored in groups. The cooking devices with the same cooking function or cooking parameter are stored in the same group, and after the operation instructions are obtained subsequently, all corresponding cooking devices capable of executing the operation instructions can be obtained quickly, so that the condition that the cooking devices to be controlled are searched in all the cooking devices in sequence is avoided, and the time for searching the cooking devices to be controlled is shortened.
2. And identifying a target group corresponding to the operation instruction according to the operation instruction, extracting the equipment number of at least one cooking equipment to be controlled from the target group, and sending the control instruction to the at least one cooking equipment. According to the operation instructions, the cooking devices in the target group are controlled in batches, so that the step of controlling the cooking devices one by one to execute the operation instructions is reduced, the time for controlling the cooking devices is shortened, and the cooking efficiency is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a grouping method of cooking apparatuses according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a control method of a cooking apparatus according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a grouping device of a cooking apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a control device of a cooking apparatus according to an embodiment of the present disclosure; and
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The embodiment of the application is mainly directed at the correlation technique, and when intelligent cooking equipment cooks food in batches, the cooking equipment needs to be controlled one by one, so that the cooking process is complex, and the cooking efficiency is low.
According to the grouping and control method of the cooking equipment, the cooking equipment is firstly stored in groups according to the equipment information of the cooking equipment, the cooking equipment with the same cooking function or cooking parameter is stored in the same group, all the cooking equipment capable of executing the operation instruction is quickly obtained when the operation instruction is subsequently received, and then the control instruction is sent to each obtained cooking equipment, so that each cooking equipment is uniformly controlled to execute the operation instruction, the time for controlling the cooking equipment is shortened, and the cooking efficiency is improved.
A grouping and control method, apparatus, device, and medium of a cooking device according to an embodiment of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a grouping method of cooking apparatuses according to an embodiment of the present disclosure.
As shown in fig. 1, the grouping method of the cooking apparatus includes the steps of:
step 101, acquiring device information of cooking devices to be grouped, wherein the device information at least comprises a device number of the cooking device, category information to which the cooking device belongs and model information of the cooking device.
The cooking equipment in the embodiment of the application can be various kinds of intelligent cooking equipment such as an electric cooker, an electric pressure cooker, a bread maker and an electric stewpan, and the cooking equipment of the same kind has the same cooking functions, such as cooking, baking, stewing and the like. It will be appreciated that cooking devices of the same category may have different models, and that cooking devices of different models may have different cooking parameters or specific cooking functions, for example, different toasting temperature thresholds of different models of bread makers may differ. Therefore, in order to distinguish cooking devices, unique device numbers, such as 001, 002, 003 and other marks, are set in advance for the cooking devices to be grouped, so that the cooking devices can be grouped and managed conveniently.
During specific implementation, the device information of the cooking devices to be grouped can be acquired in different modes, so that the cooking devices with the same cooking function or cooking parameter can be grouped according to the acquired device information, wherein the device information can comprise the device number of the cooking device, the type information and the model information of the cooking device, and the like.
As a first possible implementation manner, the name plate information of the cooking device may be photographed by the image photographing device, then the obtained name plate information may be analyzed, and information such as the type and model of the cooking device and the device number preset on the name plate may be extracted from the name plate information.
As a second possible implementation manner, a product Serial number (SN code for short) on the cooking device body may be scanned by the scanning device, and then the acquired SN code is sent to the cloud server, and the cloud server queries information such as a type and a model corresponding to the SN code through network resources, so that comprehensive and real-time information of the cooking device is acquired through the network resources when nameplate information of the cooking device is incomplete. Further, the equipment number of the cooking equipment is obtained through the mapping relation between the SN code prestored in the local server and the equipment number.
As a third possible implementation manner, a device for storing the device information of the cooking device may be preset, for example, a device information obtaining module provided in the embodiment of the present invention, and a user may manually input or input the device information of each cooking device in a voice mode into the device for storing the device information of the cooking device, for example, the device information of each cooking device is manually input on a human-computer interaction interface of the device for storing the device information of the cooking device in sequence according to a preset device number.
And 102, storing the cooking equipment in groups according to the equipment information.
Specifically, after the device information of the cooking devices to be grouped is acquired, different levels of grouping can be set according to the device information, the cooking devices are stored in corresponding levels of grouping, and then the grouping information of the cooking devices is stored in preset storage devices, wherein the number of the levels of grouping can be set according to actual operation requirements.
As an example, a first-level grouping corresponding to the category information and a second-level grouping corresponding to the model information may be set according to the category information of the cooking devices to be grouped and the model information under the category, wherein the second-level grouping is a lower-level grouping of the first-level grouping, and then the cooking devices to be grouped are stored into the first-level grouping and the second-level grouping.
In specific implementation, when each cooking device is grouped, the category information of the current cooking device to be grouped is extracted, then a first-level group existing in the current storage space of the storage device is traversed, and the category information of the current cooking device to be grouped is compared with the category information corresponding to each existing first-level group, so as to judge whether a first-level group corresponding to the category information to which the current cooking device to be grouped belongs exists in the current storage space. If the current storage space does not have the first-level group corresponding to the category information of the cooking equipment to be grouped currently, establishing the first-level group corresponding to the category information of the cooking equipment, and storing the equipment number of the cooking equipment in the established first-level group; and if the current storage space has a first-level group corresponding to the category information of the cooking equipment to be grouped currently, directly storing the equipment number of the cooking equipment in the matched first-level group.
Further, after the device number of the cooking device to be currently grouped is stored in the corresponding first-level group, whether a second-level group corresponding to the model information of the cooking device to be currently grouped exists in the current first-level group can be judged according to the judging method. If the current storage space does not have the second-level group corresponding to the model information of the cooking equipment to be grouped currently, establishing the second-level group corresponding to the model information of the cooking equipment, and storing the equipment number of the cooking equipment in the established second-level group; and if the current storage space has a second-level group corresponding to the model information of the cooking equipment to be grouped currently, directly storing the equipment number of the cooking equipment in the matched second-level group.
For example, after the device information of the cooking devices to be grouped is obtained, the cooking devices may be sequentially stored in each group in order of the device numbers of the cooking devices. For example, when the 001 # cooking device is stored in groups, the device is extracted from the device information of the 001 # cooking device as an electric cooker, after the first-stage group in the current storage space is traversed and it is determined that the first-stage group corresponding to the electric cooker does not exist, the first-stage group corresponding to the electric cooker is established, the 001 # is stored in the group, further, the second-stage group corresponding to the model information of the 001 # cooking device does not exist in the first-stage group, so that the second-stage group corresponding to the model information of the electric cooker is established, and the 001 # is stored in the second-stage group.
Then, No. 002 cooking equipment is stored, the equipment is extracted from the equipment information of No. 002 cooking equipment to be an electric cooker, after the first-stage grouping in the current storage space is traversed and the existence of the first-stage grouping corresponding to the electric cooker is determined, No. 002 is directly stored into the first-stage grouping corresponding to the electric cooker, further, after the model information of the electric cooker is extracted from the equipment information of No. 002 cooking equipment, the second-stage grouping in the current first-stage grouping is traversed, after the absence of the second-stage grouping corresponding to the model of No. 002 cooking equipment is determined, the second-stage grouping corresponding to No. 002 cooking equipment is established, and No. 002 is stored into the second-stage grouping.
Further, when cooking device # 003 is stored in groups, the device is extracted from the device information of cooking device # 003 as a bread maker, and after traversing the first-level group in the current storage space and determining that the first-level group corresponding to the bread maker does not exist, corresponding first-level group and second-level group can be established according to the group storage method of cooking device # 001, and the 003 good is stored in the established group. And the cooking devices to be grouped in the following are stored into corresponding grade groups according to the same method,
therefore, the cooking equipment is grouped according to the type information and the model information of the cooking equipment, the cooking equipment of the same type is in the same first-level group, the cooking equipment of the same type with the same type and the same model is in the same second-level group, and the subsequent cooking equipment with the same cooking function or cooking parameter can be conveniently and quickly obtained.
To sum up, the grouping method of the cooking devices in the embodiment of the present application first obtains the device information of the cooking devices to be grouped, where the device information at least includes the device number of the cooking device, the type information to which the cooking device belongs, and the model information of the cooking device, and then performs grouping storage on the cooking devices according to the device information. According to the method, the cooking devices with the same cooking function or cooking parameter are stored in the same group, and after the operation instruction is obtained subsequently, all the corresponding cooking devices capable of executing the operation instruction can be obtained quickly, so that the condition that the cooking devices to be controlled are searched in sequence in all the cooking devices is avoided, and the time for searching the cooking devices to be controlled is shortened.
Based on the above embodiment, after the cooking devices are grouped, the cooking devices in different groups can be controlled according to cooking instructions, and in order to describe the process of controlling the grouped cooking devices more clearly, the embodiment of the application further provides a method for controlling the cooking devices.
Fig. 2 is a schematic flowchart of a control method of a cooking apparatus according to an embodiment of the present application, and as shown in fig. 2, the control method of the cooking apparatus includes the following steps:
step 201, obtaining an operation instruction.
Specifically, after the cooking devices are grouped by the grouping method of the cooking devices, a user can send an operation instruction for controlling the cooking devices according to actual requirements so as to control the cooking devices in the corresponding group to execute operations in the instruction. The operation instruction may include a preset packet number of each packet, for example, a packet number such as "a group", "B group", and "C group" is set in advance for each first-stage packet, each packet number corresponds to a unique first-stage packet, for example, the a group is a first-stage packet corresponding to an electric cooker, the B group is a first-stage packet corresponding to a bread maker, the C group is a first-stage packet corresponding to an electric pressure cooker, and the like, and then a second-stage packet number such as "a-1 group", "a-2 group", "B-1 group", and "B-2 group" is set for each second-stage packet under the first-stage packet, and each second-stage packet number corresponds to a currently unique second-stage packet. Furthermore, the user can send an operation instruction containing a corresponding group number according to the cooking requirement, such as 'controlling the A-1 group to cook' or 'controlling the C group to close'; or, when the user does not determine the group number of the cooking device, the user can also directly send an operation instruction containing the information of the type or model of the cooking device to be controlled, for example, "control all the rice cookers to start up" and the like.
In specific implementation, as a possible implementation manner, a user may send an operation instruction through an application program in a client, for example, a packet number of a cooking device to be controlled or type or model information of the cooking device to be controlled is input on an interactive interface of the application program, and then the client receives the information input by the user and acquires the operation instruction.
As another possible implementation manner, the cooking devices grouped at each level may be set in the corresponding control area, so that the cooking devices in the same control area belong to the same group, and then each control area is displayed on the interactive interface of the client, and the cooking devices corresponding to each control area are marked. Therefore, when the cooking equipment to be controlled is grouped more and a user inconveniently inputs a grouping number or a type and model information manually, the user can input the area to be controlled on the interactive interface in a voice mode, and then the client receives the voice operation instruction input by the user through the voice receiving equipment.
Step 202, according to the operation instruction, identifying a target group corresponding to the operation instruction.
Specifically, after the operation instruction is obtained, the group number of the cooking device to be controlled can be obtained according to the operation instruction, and then the target group corresponding to the operation instruction is identified according to the group number. According to different contents of the operation instruction, the packet number in the operation instruction can be obtained in different modes.
With continued reference to the above example, when the operation instruction sent by the user includes the group number of the cooking appliance to be controlled, the group number may be directly extracted from the operation instruction; when the operation instruction contains the type or model information of the cooking equipment to be controlled, the client can extract the type or model information of the cooking equipment to be controlled, and then the group number corresponding to the operation instruction is obtained according to the mapping relation between the pre-stored type or model information of the cooking equipment and the group number; when the operating instruction includes a control area where the cooking device to be controlled is located, the client may extract the control area of the cooking device to be controlled from the operating instruction, and then obtain a group number corresponding to the operating instruction according to a mapping relationship between the pre-stored control area where each stage of group cooking device is located and the group number, for example, when a voice operating instruction sent by a user is "control on the device in the southeast area", the client detects that the control area where the cooking device to be controlled is located is the southeast area ", and then identifies that the group number corresponding to the southeast area is a B-1 group according to the mapping relationship between the control area where the cooking device is located and the group number
Further, according to the acquired packet number, a target packet corresponding to the operation instruction is acquired. As one possible implementation, the level of the packet number may be identified first, and then the target packet matching the level of the packet number is obtained. For example, if the packet number is identified as the first-stage packet number, the first-stage packet matching the packet number is acquired, and the first-stage packet matching the packet number is taken as the target packet.
And step 203, extracting the device number of at least one cooking device to be controlled from the target group, and sending a control instruction to the at least one cooking device.
Specifically, after the target group corresponding to the operation instruction is determined, the device number of the cooking device in the target group is obtained first, so that the cooking device in the target group can be controlled to execute the operation instruction later. As a possible implementation manner, when the target grouping is a first-level grouping matching with the grouping number, each second-level grouping under the first-level grouping is obtained, the device numbers of all cooking devices are extracted from each second-level grouping, and when the target grouping is a second-level grouping matching with the grouping number, the device numbers of all cooking devices under the target grouping are obtained, so that the device numbers of all cooking devices under the target grouping are obtained, and batch control over all cooking devices under the target grouping is facilitated.
For example, when the target group is the group A, three second-level groups of the group A-1, the group A-2 and the group A-3 under the group A are obtained, and the equipment numbers of all cooking equipment under the three second-level groups are extracted; when the object is grouped into the B-1 group, all the device numbers including No. 004, No. 005 and No. 007 included under the B-1 group are directly acquired.
Further, a control instruction for controlling the cooking device to perform corresponding operation is generated according to an operation instruction of a user, where the control instruction may be a machine language or a program suitable for the cooking device, and the control instruction may include a cooking function to be performed by the cooking device and a cooking parameter when the cooking function is performed. As a way of generating the control instruction, a function to control the cooking apparatus to perform, such as turning on, turning off, or keeping warm, may be extracted from an operation instruction sent by the user. Then, determining cooking parameters for configuring the cooking devices according to the level of the target grouping, for example, when the target grouping is a first-level grouping, in order to ensure that the cooking devices of different models in the same category can execute the control instruction, taking default parameters of the target grouping as the cooking parameters of the control instruction, wherein the default parameters are the cooking parameters which are all satisfied by the preset cooking devices in the target grouping; for another example, when the target group is the second-stage group, since the models of the cooking devices in the second-stage group are the same, the same cooking parameters can be configured for the cooking devices, and thus, the specific cooking parameters set when the user sends the operation instruction can be used as the cooking parameters of the control instruction.
For example, when the operation instruction of the user is "control the B-1 group to bake for 20 minutes at 200 ℃, all the equipment numbers in the B-1 group are extracted according to the operation instruction, and a program for controlling all the corresponding cooking equipment to start the baking function and continuously bake for 20 minutes at 200 ℃ is generated.
Further, the generated control instruction is sent to the cooking devices to be controlled in the target group, so that each cooking device executes the received control instruction. In specific implementation, the control instruction can be sent to the cooking equipment in different modes. As a possible implementation manner, when the client establishes a wireless network connection with each cooking device, the client may directly send the generated control instruction to each cooking device. As another possible implementation manner, the client may send the generated control instruction to the cloud server, and issue the control instruction to the cooking device through the cloud server.
Therefore, the cooking devices in the target group are controlled in batch according to the operation instruction of the user, all the cooking devices in the target group are controlled to execute corresponding cooking functions by sending the control instruction once, and the cooking efficiency is improved.
To sum up, in the control method of the cooking device according to the embodiment of the present application, the operation instruction is first obtained, then the target group corresponding to the operation instruction is identified according to the operation instruction, and finally the device number of at least one cooking device to be controlled is extracted from the target group, and the control instruction is sent to the at least one cooking device. According to the method, the cooking devices in the target group are controlled in batches according to the operation instructions, so that the step of controlling the cooking devices one by one to execute the operation instructions is reduced, the time for controlling the cooking devices is shortened, and the cooking efficiency is improved.
In order to realize the above embodiments, the embodiments of the present application further provide a grouping device of cooking apparatuses. Fig. 3 is a schematic structural diagram of a grouping device of a cooking apparatus according to an embodiment of the present application.
As shown in fig. 3, the grouping means of the cooking apparatus includes: a device information acquisition module 110 and a packet storage module 120.
The device information acquiring module 110 is configured to acquire device information of cooking devices to be grouped, where the device information at least includes a device number of the cooking device, category information to which the cooking device belongs, and model information of the cooking device.
And a grouping storage module 120 for grouping and storing the cooking devices according to the device information.
In a possible implementation manner of the embodiment of the present application, the grouping storage module 120 is specifically configured to determine whether a first-level grouping corresponding to the category information to which the cooking device belongs exists in the current storage space, establish the first-level grouping for the cooking device if the first-level grouping does not exist currently, store the device number of the cooking device in the first-level grouping, and directly store the device number of the cooking device in the first-level grouping if the first-level grouping exists currently.
Further, the grouping storage module 120 is further configured to determine whether a second-level grouping corresponding to the model information of the cooking device exists in the current first-level grouping, establish the second-level grouping for the cooking device if the second-level grouping does not exist currently, store the device number of the cooking device in the second-level grouping, and directly store the device number of the cooking device in the second-level grouping if the second-level grouping exists currently.
It should be noted that the foregoing explanation of the embodiment of the grouping method for cooking devices is also applicable to the grouping device for cooking devices of this embodiment, and the implementation principle is similar, so that details are not repeated herein.
To sum up, the grouping device of the cooking apparatus in the embodiment of the present application first obtains the apparatus information of the cooking apparatus to be grouped, where the apparatus information at least includes an apparatus number of the cooking apparatus, category information to which the cooking apparatus belongs, and model information of the cooking apparatus, and then performs grouping storage on the cooking apparatus according to the apparatus information. The device stores the cooking devices with the same cooking function or cooking parameter into the same group, and after the operation instructions are obtained subsequently, all corresponding cooking devices capable of executing the operation instructions can be obtained quickly, so that the condition that the cooking devices to be controlled are searched in all the cooking devices in sequence is avoided, and the time for searching the cooking devices to be controlled is shortened.
In order to realize the above embodiments, the present application further provides a control device of a cooking apparatus. Fig. 4 is a schematic structural diagram of a control device of a cooking apparatus according to an embodiment of the present application.
As shown in fig. 4, the control device of the cooking apparatus includes: an instruction acquisition module 210, a packet identification module 220, and a control module 230.
The instruction obtaining module 210 is configured to obtain an operation instruction.
And the grouping identification module 220 is configured to identify a target grouping corresponding to the operation instruction according to the operation instruction.
And the control module 230 is used for extracting the device number of the at least one cooking device to be controlled from the target group and sending a control instruction to the at least one cooking device.
In a possible implementation manner of the embodiment of the present application, the grouping identification module 220 is further configured to extract a grouping number from the operation instruction, and obtain a target grouping corresponding to the operation instruction according to the grouping number.
Specifically, the packet identifying module 220 is specifically configured to identify a level of the packet number, acquire the first-stage packet matching the packet number if the packet number is the first-stage packet number, use the first-stage packet matching the packet number as the target packet, acquire the second-stage packet matching the packet number if the packet number is the second-stage packet number, and use the second-stage packet matching the packet number as the target packet.
In a possible implementation manner of the embodiment of the present application, the control module 230 is further configured to, when the target group is a first-level group matching the group number, obtain each second-level group under the first-level group, extract the device numbers of all cooking devices from each second-level group, and when the target group is a second-level group matching the group number, obtain the device numbers of all cooking devices under the target group.
Further, the control module 230 is further configured to send the control instruction to a cloud server, and issue the control instruction to at least one cooking device through the cloud server.
It should be noted that the foregoing explanation of the embodiment of the control method of the cooking apparatus is also applicable to the control device of the cooking apparatus of the embodiment, and therefore, the explanation is not repeated here.
To sum up, the control device of the cooking apparatus according to the embodiment of the present application first obtains the operation instruction, then identifies the target group corresponding to the operation instruction according to the operation instruction, and finally extracts the apparatus number of at least one cooking apparatus to be controlled from the target group and sends the control instruction to the at least one cooking apparatus. The device controls each cooking device in the target group in batches according to the operation instruction, reduces the step of controlling the cooking devices one by one to execute the operation instruction, shortens the time for controlling the cooking devices, and improves the cooking efficiency.
In order to implement the above embodiments, the present application further provides an electronic device.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 120 includes: a processor 121 and a memory 122; the memory 122 is used for storing executable program code; the processor 121 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 122, for implementing the grouping method of the cooking apparatus according to the first aspect embodiment or implementing the control method of the cooking apparatus according to the second aspect embodiment.
In order to implement the above embodiments, the present embodiment also proposes a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the grouping method of cooking apparatuses as described in the first aspect embodiment or implements the control method of a cooking apparatus as described in the second aspect embodiment.
In the description of the present specification, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (13)
1. A grouping method of cooking apparatuses, characterized by comprising the steps of:
acquiring equipment information of cooking equipment to be grouped, wherein the equipment information at least comprises an equipment number of the cooking equipment, category information to which the cooking equipment belongs and model information of the cooking equipment;
and according to the equipment information, grouping and storing the cooking equipment.
2. The method according to claim 1, wherein the storing the cooking appliances in groups according to the appliance information includes:
judging whether a first-level group corresponding to the category information of the cooking equipment exists in the current storage space;
if the first-level grouping does not exist currently, establishing the first-level grouping for the cooking equipment, and storing the equipment number of the cooking equipment in the first-level grouping;
if the first level grouping currently exists, directly storing the device number of the cooking device in the first level grouping.
3. The method of claim 2, wherein after storing the device number of the cooking device in the first level grouping, further comprising:
judging whether a second-level group corresponding to the model information of the cooking equipment exists in the current first-level group;
if the second-level grouping does not exist currently, establishing the second-level grouping for the cooking equipment, and storing the equipment number of the cooking equipment in the second-level grouping;
if the second level grouping currently exists, directly storing the device number of the cooking device in the second level grouping.
4. A method of controlling cooking appliances, wherein a plurality of cooking appliances are divided into different groups, the method comprising the steps of:
acquiring an operation instruction;
identifying a target group corresponding to the operation instruction according to the operation instruction;
and extracting the equipment number of at least one cooking equipment to be controlled from the target group, and sending a control instruction to the at least one cooking equipment.
5. The method according to claim 4, wherein the identifying, according to the operation instruction, the packet to which the operation instruction corresponds comprises:
and extracting a packet number from the operation instruction, and acquiring the target packet corresponding to the operation instruction according to the packet number.
6. The method according to claim 5, wherein the obtaining the target packet corresponding to the operation instruction according to the packet number comprises:
identifying a level of the packet number;
if the packet number is the first-level packet number, acquiring a first-level packet matched with the packet number, and taking the first-level packet matched with the packet number as the target packet;
and if the packet number is the second-level packet number, acquiring a second-level packet matched with the packet number, and taking the second-level packet matched with the packet number as the target packet.
7. The method of claim 6, wherein said extracting a device number of at least one cooking device to be controlled from said target grouping comprises:
when the target grouping is the first-level grouping matched with the grouping number, acquiring each second-level grouping below the first-level grouping, and extracting the equipment numbers of all cooking equipment from each second-level grouping;
and when the target group is a second-level group matched with the group number, acquiring the equipment numbers of all cooking equipment under the target group.
8. The method according to any one of claims 4-6, wherein before sending the control instruction to the at least one cooking device, further comprising:
acquiring cooking parameters for configuring the at least one cooking device;
and generating the control instruction according to the cooking parameters.
9. The method according to any one of claims 4-6, wherein said sending control instructions to said at least one cooking device comprises:
and sending the control instruction to a cloud server, and issuing the control instruction to the at least one cooking device through the cloud server.
10. A grouping device of cooking apparatuses, comprising:
the cooking equipment grouping method comprises an equipment information acquisition module, a classification information acquisition module and a classification information acquisition module, wherein the equipment information acquisition module is used for acquiring equipment information of cooking equipment to be grouped, and the equipment information at least comprises equipment numbers of the cooking equipment, class information to which the cooking equipment belongs and model information of the cooking equipment;
and the grouping storage module is used for grouping and storing the cooking equipment according to the equipment information.
11. A control apparatus of a cooking appliance, wherein a plurality of cooking appliances are divided into different groups, comprising:
the instruction acquisition module is used for acquiring an operation instruction;
the group identification module is used for identifying a target group corresponding to the operation instruction according to the operation instruction;
and the control module is used for extracting the equipment number of at least one cooking equipment to be controlled from the target group and sending a control instruction to the at least one cooking equipment.
12. An electronic device comprising a memory, a processor;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the grouping method of the cooking appliance according to any one of claims 1 to 3 or for implementing the control method of the cooking appliance according to any one of claims 4 to 9.
13. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements a grouping method of cooking apparatuses as claimed in any one of claims 1 to 3, or is used to implement a control method of cooking apparatuses as claimed in any one of claims 4 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910208193.2A CN111722541A (en) | 2019-03-19 | 2019-03-19 | Cooking equipment grouping and control method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910208193.2A CN111722541A (en) | 2019-03-19 | 2019-03-19 | Cooking equipment grouping and control method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111722541A true CN111722541A (en) | 2020-09-29 |
Family
ID=72562372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910208193.2A Pending CN111722541A (en) | 2019-03-19 | 2019-03-19 | Cooking equipment grouping and control method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111722541A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1481122A (en) * | 2002-11-06 | 2004-03-10 | 联想(北京)有限公司 | Method for controlling and managing electrical appliances in household network |
CN102694706A (en) * | 2012-03-21 | 2012-09-26 | 广东美的电器股份有限公司 | Internet of things type home appliance system with cloud service function and method for controlling internet of things type home appliance system |
CN104133386A (en) * | 2014-07-02 | 2014-11-05 | 珠海优特电力科技股份有限公司 | Intelligent kitchen host, and work method and control method of intelligent kitchen host |
CN104714412A (en) * | 2014-12-30 | 2015-06-17 | 广东美的制冷设备有限公司 | Method and system for managing household electric appliances and mobile terminal |
CN105245414A (en) * | 2015-09-24 | 2016-01-13 | 广东瑞德智能科技股份有限公司 | Method for distinguishing multiple household appliances of same type in smart home |
US20160127502A1 (en) * | 2014-11-03 | 2016-05-05 | Electronics And Telecommunications Research Institute | Method for operating machines and system using the same |
CN106302059A (en) * | 2016-10-21 | 2017-01-04 | 北京中天智汉科技有限责任公司 | A kind of long-range control method for Smart Home and device |
-
2019
- 2019-03-19 CN CN201910208193.2A patent/CN111722541A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1481122A (en) * | 2002-11-06 | 2004-03-10 | 联想(北京)有限公司 | Method for controlling and managing electrical appliances in household network |
CN102694706A (en) * | 2012-03-21 | 2012-09-26 | 广东美的电器股份有限公司 | Internet of things type home appliance system with cloud service function and method for controlling internet of things type home appliance system |
CN104133386A (en) * | 2014-07-02 | 2014-11-05 | 珠海优特电力科技股份有限公司 | Intelligent kitchen host, and work method and control method of intelligent kitchen host |
US20160127502A1 (en) * | 2014-11-03 | 2016-05-05 | Electronics And Telecommunications Research Institute | Method for operating machines and system using the same |
CN104714412A (en) * | 2014-12-30 | 2015-06-17 | 广东美的制冷设备有限公司 | Method and system for managing household electric appliances and mobile terminal |
CN105245414A (en) * | 2015-09-24 | 2016-01-13 | 广东瑞德智能科技股份有限公司 | Method for distinguishing multiple household appliances of same type in smart home |
CN106302059A (en) * | 2016-10-21 | 2017-01-04 | 北京中天智汉科技有限责任公司 | A kind of long-range control method for Smart Home and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107468048A (en) | Cooking apparatus and its control method | |
EP4063738A1 (en) | Mobile computer device for data communication with a domestic appliance | |
CN108337139A (en) | Home appliance voice control method, electronic equipment, storage medium and system | |
CN108681283B (en) | Intelligent cooking method and system | |
CN106020007A (en) | Control method and cooking utensil | |
CN107452376B (en) | Method for controlling cooking through voice | |
CN108107762A (en) | Cooking control method and culinary art control device, storage medium and cooking equipment | |
CN111035261B (en) | Cooking control method, device and equipment | |
CN204883766U (en) | Cooking device | |
CN106873451A (en) | A kind of cooking equipment and its intelligent cooking method | |
CN110448250B (en) | Tableware storing and taking method and system | |
CN112817237A (en) | Cooking control method, device, equipment and storage medium | |
CN106292368A (en) | A kind of tank and intelligent control method thereof | |
CN208957616U (en) | Cooking utensil and control system and server thereof | |
CN111990902A (en) | Cooking control method and device, electronic equipment and storage medium | |
CN107703780B (en) | Control method, device and system of cooking utensil | |
CN108338420A (en) | Heating wire identification device, method, electronic cigarette and computer storage media | |
CN114224189A (en) | Cooking equipment control method and device and cooking equipment | |
CN109380975A (en) | Cooking appliance, control method and system thereof and server | |
CN109358538B (en) | Monitoring method, device, equipment and system for cooking appliance | |
CN109062277A (en) | Food heating method and device, storage medium and processor | |
CN110037534B (en) | Pot body heating method and pot | |
CN111035260A (en) | Kitchen ware control method, device and equipment | |
CN109407554A (en) | Kitchen automatic cooking control method, device, storage medium and computer equipment | |
CN111594880A (en) | Binding method, device and equipment of cooker and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200929 |