Custom menu generation method, system and device and storage medium
By collecting data from multiple detection devices in the integrated stove and integrating it to generate recipes, it solves the problem of difficulty in meeting the individual needs of users in the existing technology and improves the accuracy and richness of customized recipes.
Patent Information
- Application Number
- CN202410811877.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-01
AI Technical Summary
It is difficult for existing integrated stoves to generate accurate customized recipes according to users' individual needs, and cannot effectively meet the differences in cooking needs of users in different regions, ages and genders.
Data is collected through the information acquisition equipment, stove weight detection equipment, image acquisition equipment, temperature detection equipment and knob detection equipment in the integrated stove, and the data processing equipment is integrated to generate recipes, including material type and weight change data, operation diagram timing, stove Temperature and knob angle data are used to generate target recipes.
Improves the accuracy and richness of customized recipes to meet users' personalized cooking needs.
Smart Images

Figure CN118733813A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of integrated stoves, in particular to the field of integrated stove control technology, and specifically to a method, system, device and storage medium for generating a custom recipe. Background Art
[0002] An integrated stove is a kitchen appliance that organically integrates a range hood, stove, disinfection cabinet, storage cabinet, etc. More and more users choose to use integrated stoves in their daily lives.
[0003] The recipes stored in the integrated stove are generally fixed program recipes obtained by technicians through laboratory debugging. However, users from different regions, ages and genders have different requirements for the types of dishes, quantity, tenderness, cooking time, cooking temperature and taste, making it difficult to meet the personalized cooking needs of users. To solve this problem, some integrated stoves have a custom recipe editing function, but in the process of compiling recipes, users are often required to adjust the recipe description method according to the parameters of the integrated stove. The recipe recording process is also very complicated, and it is impossible to accurately set the type and weight of cooking materials required by users during the cooking process according to their actual cooking situation. Summary of the invention
[0004] The present application provides a method, system, device and storage medium for generating a custom recipe to improve the accuracy of the custom recipe.
[0005] According to one aspect of the present application, a method for generating a custom recipe is provided, which is applied to an integrated stove with a custom recipe function; the integrated stove comprises a first information acquisition device, a stove weight detection device, a second image acquisition device, a temperature detection device, a knob detection device, a data processing device and a recipe generation device; the method comprises:
[0006] Detecting the candidate materials in the integrated stove by the first information acquisition device, obtaining first material data before the candidate material changes and second material data after the candidate material changes, and sending the first material data and the second material data to the data processing device;
[0007] Processing the first material data and the second material data by the data processing device to obtain material change data of the candidate material, and sending the material change data to the recipe generating device; the material change data includes material type change data and material weight change data of the candidate material;
[0008] The weight of the candidate cooker during the cooking process is detected by the cooker weight detection device, and when a change in the weight of the candidate cooker is detected, a device start instruction is sent to the second image acquisition device, the temperature detection device, and the knob detection device;
[0009] When receiving the device start-up instruction, the second imaging device collects images of the user's operation on the candidate cooker, obtains a user operation image and an operation image sequence corresponding to the user operation image, and sends the user operation image and the operation image sequence to the recipe generating device;
[0010] When receiving the device start instruction, the temperature detection device detects the stove temperature of the candidate stove to obtain stove temperature data, and sends the stove temperature data to the recipe generation device;
[0011] When receiving the device start instruction, the knob detection device detects the rotation angle of the cooker knob of the integrated stove to obtain knob angle data, and sends the knob angle data to the recipe generation device;
[0012] The recipe generating device integrates the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain a target recipe.
[0013] According to another aspect of the present application, a custom recipe generation system is provided, which is configured in an integrated stove with a custom recipe function, and the system includes:
[0014] a first information acquisition device, a stove weight detection device, a second image acquisition device, a temperature detection device, a knob detection device, a data processing device, and a recipe generation device; the data processing device is electrically connected to the first information acquisition device; the stove weight detection device is electrically connected to the second image acquisition device, the temperature detection device, and the knob detection device respectively; the recipe generation device is electrically connected to the second image acquisition device, the data processing device, the temperature detection device, and the knob detection device respectively;
[0015] The first information acquisition device is used to detect the candidate material in the integrated stove, obtain the first material data before the candidate material changes and the second material data after the candidate material changes, and send the first material data and the second material data to the data processing device;
[0016] The data processing device is used to process the first material data and the second material data to obtain material change data of the candidate material, and send the material change data to the recipe generating device; the material change data includes material type change data and material weight change data of the candidate material;
[0017] The stove weight detection device is used to detect the weight of the candidate stove during the cooking process, and when detecting that the weight of the candidate stove changes, sends a device start instruction to the second image acquisition device, the temperature detection device and the knob detection device;
[0018] The second imaging device is used to collect images of the user's operation on the candidate cooker upon receiving the device start-up instruction, obtain a user operation image and an operation image sequence corresponding to the user operation image, and send the user operation image and the operation image sequence to the recipe generating device;
[0019] The temperature detection device is used to detect the stove temperature of the candidate stove when receiving the device start instruction, obtain stove temperature data, and send the stove temperature data to the recipe generation device;
[0020] The knob detection device is used to detect the rotation angle of the cooker knob of the integrated stove when receiving the device start instruction, obtain knob angle data, and send the knob angle data to the recipe generation device;
[0021] The recipe generating device is used to integrate the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain a target recipe.
[0022] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0023] one or more processors;
[0024] A memory for storing one or more programs;
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the custom recipe generation methods provided in the embodiments of the present application.
[0026] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, any one of the customized recipe generation methods provided in the embodiments of the present application is implemented.
[0027] The present application detects candidate materials in the integrated stove through a first information acquisition device, obtains first material data before the candidate material changes and second material data after the candidate material changes, and sends the first material data and the second material data to a data processing device; processes the first material data and the second material data through the data processing device to obtain material change data of the candidate material, and sends the material change data to a recipe generation device; the material change data includes material type change data and material weight change data of the candidate material; detects the weight of the candidate stove during the cooking process through a stove weight detection device, and when it is detected that the weight of the candidate stove changes, sends a device start instruction to a second image acquisition device, a temperature detection device, and a knob detection device; When the device receives the device start command, it collects images of the user's operation on the candidate stove, obtains the user operation diagram and the operation diagram timing corresponding to the user operation diagram, and sends the user operation diagram and the operation diagram timing to the recipe generation device; when the device starts the command, the temperature detection device detects the stove temperature of the candidate stove, obtains the stove temperature data, and sends the stove temperature data to the recipe generation device; when the device starts the command, the knob detection device detects the rotation angle of the stove knob of the integrated stove, obtains the knob angle data, and sends the knob angle data to the recipe generation device; the recipe generation device integrates the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain the target recipe. The above technical solution enriches the user operation diagram by simultaneously collecting the material change data of the candidate material, the stove temperature data of the candidate stove and the rotation angle data of the stove knob, which can make the generated recipe description information richer and help improve the accuracy of the custom recipe. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a flow chart of a method for generating a custom recipe according to Embodiment 1 of the present application;
[0029] Figure 2 is a flow chart of a method for generating a custom recipe according to Embodiment 2 of the present application;
[0030] Figure 3a is a structural diagram of a custom recipe generation system provided according to Embodiment 3 of the present application;
[0031] Figure 3b It is a specific structural diagram of a custom recipe generation system provided according to the third embodiment of the present application;
[0032] Figure 4 It is a structural schematic diagram of an electronic device that implements the custom recipe generation method of an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] In addition, it should be noted that in the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of relevant data such as the first material data and the second material data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0036] Embodiment 1
[0037] Figure 1 This is a flowchart of a method for generating a custom recipe according to the first embodiment of the present application. This embodiment is applicable to the case of generating a custom recipe according to the user's cooking operation, and can be executed by a custom recipe generation system. The custom recipe generation system can be implemented in the form of hardware and / or software. The custom recipe generation system can be configured in an integrated stove with a custom recipe function. The integrated stove at least includes a first information acquisition device, a stove weight detection device, a second image acquisition device, a temperature detection device, a knob detection device, a data processing device, and a recipe generation device. Figure 1 As shown, the method includes:
[0038] S110. Detect candidate materials in the integrated stove through a first information acquisition device to obtain first material data before the candidate material changes and second material data after the candidate material changes, and send the first material data and the second material data to a data processing device.
[0039] Among them, the first information acquisition device refers to the device used in the integrated stove to obtain relevant information such as the type and weight of the candidate material, and may include at least one of a weight sensor and an image collector. Candidate materials refer to raw materials that can be used for cooking, and may include at least one of seasonings and ingredients. The first material data refers to the initial relevant information data of the candidate material, and may include at least one of the type and weight of the candidate material. The second material data refers to the data after the relevant information of the candidate material changes, and may include at least one of the type and weight of the candidate material. The data processing device refers to the device used in the integrated stove for data calculation and recording.
[0040] Optionally, the first material change data includes a first type set and a first weight set; the first information acquisition device includes a first image acquisition module and a first weight detection module.
[0041] The first category set refers to a set describing at least one category of candidate materials. The first weight set refers to a set describing the weights corresponding to various candidate materials. The first image acquisition module refers to a device for determining the category of a candidate material by acquiring an image of the candidate material. The first weight detection device refers to a device for acquiring the weight of a candidate material.
[0042] Furthermore, the candidate materials in the integrated stove are detected by the first information acquisition device to obtain the first material data before the candidate materials change. The first material data can be obtained by detecting the types of the candidate materials by the first image acquisition module to determine the first type set of candidate materials; and detecting the weight of the candidate materials by the first weight detection module to determine the first weight set of candidate materials.
[0043] Optionally, the second material data includes a second type set and a second weight set.
[0044] The second type set refers to a set of at least one type of candidate materials after the candidate materials are changed. The second weight set refers to a set of weights corresponding to various candidate materials after the candidate materials are changed.
[0045] Furthermore, the candidate materials in the integrated stove are detected by the first information acquisition device, and the second material data after the candidate materials are changed can be obtained by re-detecting the types of candidate materials when the first image acquisition module recognizes that the candidate materials have changed, and obtaining a second type set of candidate materials; and re-detecting the weight of the candidate materials when the first weight detection module recognizes that the candidate materials have changed, and obtaining a second weight set of candidate materials.
[0046] S120. Process the first material data and the second material data by a data processing device to obtain material change data of the candidate material, and send the material change data to a recipe generating device; the material change data includes material type change data and material weight change data of the candidate material.
[0047] The material change data is related data used to describe the changes in the candidate materials, and may include at least one of material type change data and material weight change data. The material type change data refers to the types of candidate materials that have changed. The material weight change data refers to the weight change corresponding to the candidate materials that have changed.
[0048] Optionally, the first category set and the second category set are processed by a data processing device to obtain material type change data of the candidate materials, and the material type change data is sent to the recipe generation device; the first weight set and the second weight set are processed by a data processing device to obtain material weight change data of the candidate materials, and the material weight change data is sent to the recipe generation device.
[0049] Exemplarily, data processing equipment is used to perform data processing on the first category set and the second category set to determine which types of candidate materials have changed, such as which types are increased or decreased, to obtain material type change data; and data processing equipment is used to perform data processing on the first weight set and the second weight set to determine which types of candidate materials have changed in weight and how much they have changed, to obtain material weight change data.
[0050] S130: Detect the weight of the candidate stove during the cooking process by using the stove weight detection device, and when it is detected that the weight of the candidate stove changes, send a device start instruction to the second image acquisition device, the temperature detection device and the knob detection device.
[0051] Among them, the device startup instruction refers to the wake-up instruction for the device to start working; for example, for the second image acquisition device, the device startup instruction can be an image acquisition instruction; for the temperature detection device, the device startup instruction can be a temperature detection instruction; for the knob detection device, the device startup instruction can be a knob angle detection instruction.
[0052] S140. When receiving a device start-up instruction, the second imaging device collects images of the user's operation on the candidate cooker, obtains a user operation diagram and an operation diagram timing sequence corresponding to the user operation diagram, and sends the user operation diagram and the operation diagram timing sequence to the recipe generating device.
[0053] The user operation image refers to the image captured by the second image acquisition device during the cooking process. The operation image timing refers to the time point when the user operation image is captured.
[0054] It should be noted that the second imaging device may receive multiple device start-up instructions; accordingly, the second imaging device may collect at least one user operation diagram and an operation diagram timing sequence corresponding to the user operation diagram.
[0055] S150. Upon receiving a device start instruction, the temperature detection device detects the stove temperature of the candidate stove, obtains stove temperature data, and sends the stove temperature data to the recipe generation device.
[0056] The candidate stove refers to the device currently used for cooking. The stove temperature data refers to the temperature of the candidate stove at the moment when the temperature detection device receives the device start instruction.
[0057] It should be noted that the temperature detection device may receive multiple device start-up instructions; accordingly, the stove temperature data may include the stove temperature at multiple moments, which correspond to the operation diagram timing corresponding to the user operation diagram.
[0058] S160. Upon receiving a device start command, the knob detection device detects the rotation angle of the cooker knob of the integrated stove, obtains knob angle data, and sends the knob angle data to the recipe generation device.
[0059] The stove knob refers to a rotary button for controlling the fire power of the stove. The rotation angle data refers to the angle of the stove knob at the moment when the temperature detection device receives the device start command.
[0060] It should be noted that the rotation angle can be an angle relative to the horizontal direction or an angle relative to the vertical direction, and the embodiment of the present application does not specifically limit this. In addition, the knob detection device may receive multiple device start instructions; accordingly, the knob angle data may include the rotation angle of the stove knob at multiple moments, and the moment corresponds to the operation diagram timing corresponding to the user operation diagram.
[0061] S170, the recipe generating device integrates the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain a target recipe.
[0062] Optionally, the recipe generating device sorts the user operation diagram according to the operation diagram timing, and the recipe generating device adds annotations to the user operation diagram according to the material change data, stove temperature data and knob angle data to enrich the relevant description of the user operation diagram and obtain the target recipe.
[0063] In the embodiment of the present application, the candidate materials in the integrated stove are detected by a first information acquisition device to obtain the first material data before the candidate materials change and the second material data after the candidate materials change, and the first material data and the second material data are sent to a data processing device; the first material data and the second material data are processed by the data processing device to obtain material change data of the candidate materials, and the material change data are sent to a recipe generation device; the material change data includes material type change data and material weight change data of the candidate materials; the weight of the candidate stoves during cooking is detected by a stove weight detection device, and when it is detected that the weight of the candidate stoves changes, a device start instruction is sent to a second image acquisition device, a temperature detection device and a knob detection device; When receiving the device start-up instruction, the image device collects images of the user's operation on the candidate stove, obtains the user operation diagram and the operation diagram timing corresponding to the user operation diagram, and sends the user operation diagram and the operation diagram timing to the recipe generation device; when receiving the device start-up instruction, the temperature detection device detects the stove temperature of the candidate stove, obtains the stove temperature data, and sends the stove temperature data to the recipe generation device; when receiving the device start-up instruction, the knob detection device detects the rotation angle of the stove knob of the integrated stove, obtains the knob angle data, and sends the knob angle data to the recipe generation device; the recipe generation device integrates the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain the target recipe. The above technical solution enriches the user operation diagram by simultaneously collecting the material change data of the candidate material, the stove temperature data of the candidate stove and the rotation angle data of the stove knob, which can make the generated recipe description information richer and help improve the accuracy of the custom recipe.
[0064] Embodiment 2
[0065] Figure 2 It is a flow chart of a custom recipe generation method provided in accordance with the second embodiment of the present application. Based on the technical solutions of the above embodiments, this embodiment refines "the recipe generation device integrates the user operation diagram according to the material change data, operation diagram timing, stove temperature data and knob angle data to obtain a target recipe" into "the recipe generation device sorts the user operation diagram according to the operation diagram timing to obtain an initial recipe; the recipe generation device annotates the stove temperature and knob angle for the user operation diagram in the initial recipe according to the stove temperature data and knob angle data to obtain a candidate recipe; the recipe generation device adds the type and weight of materials to the user operation diagram in the candidate recipe according to the material type change data and the material weight change data to obtain a target recipe". It should be noted that for the parts not described in detail in the embodiments of the present application, please refer to the relevant statements of other embodiments. Figure 2 As shown, the method includes:
[0066] S210. Detect candidate materials in the integrated stove through a first information acquisition device to obtain first material data before the candidate material changes and second material data after the candidate material changes, and send the first material data and the second material data to a data processing device.
[0067] S220. Process the first material data and the second material data by a data processing device to obtain material change data of the candidate material, and send the material change data to a recipe generating device; the material change data includes material type change data and material weight change data of the candidate material.
[0068] S230: Detect the weight of the candidate stove during the cooking process by using the stove weight detection device, and when it is detected that the weight of the candidate stove changes, send a device start instruction to the second image acquisition device, the temperature detection device, and the knob detection device.
[0069] S240. When receiving a device start-up instruction, the second imaging device collects images of the user's operation on the candidate cooker, obtains a user operation diagram and an operation diagram timing sequence corresponding to the user operation diagram, and sends the user operation diagram and the operation diagram timing sequence to the recipe generating device.
[0070] S250. Upon receiving a device start instruction, the temperature detection device detects the stove temperature of the candidate stove, obtains stove temperature data, and sends the stove temperature data to the recipe generation device.
[0071] S260. Upon receiving a device start command, the knob detection device detects the rotation angle of the cooker knob of the integrated stove, obtains knob angle data, and sends the knob angle data to the recipe generation device.
[0072] S270. The recipe generating device sorts the user operation diagrams according to the operation diagram time sequence to obtain an initial recipe.
[0073] The initial recipe refers to a recipe that only describes the user operation process without adding detailed information description.
[0074] Since there may be multiple user operation diagrams collected by the second image acquisition device, in order to avoid the user operation diagrams received by the recipe generation device being disordered and messy, the user operation diagrams can be preliminarily sorted by the operation diagram timing before generating the target recipe, so as to ensure that the user operation diagrams in the recipe are performed in time sequence, laying the foundation for the subsequent addition of recipe information.
[0075] S280: Using the recipe generating device, the cooker temperature and the knob angle are marked on the user operation icon in the initial recipe according to the cooker temperature data and the knob angle data, so as to obtain a candidate recipe.
[0076] The candidate recipe refers to a recipe annotated with a detailed stove temperature description and a knob angle. The stove temperature refers to the temperature corresponding to the candidate stove in the user operation diagram. The knob angle refers to the angle of the current knob in the user operation diagram.
[0077] Exemplarily, the recipe generating device adds the cooker temperature and knob angle corresponding to the operation diagram timing sequence to the user operation diagram in the initial recipe according to the operation diagram timing sequence to obtain a candidate recipe.
[0078] S290. The recipe generating device adds the type and weight of the material to the user operation diagram in the candidate recipe according to the material type change data and the material weight change data to obtain a target recipe.
[0079] The target recipe refers to the final recipe obtained after further improving the material information of the candidate recipe. The type of material refers to the types of candidate materials added in the user operation diagram. The weight of the material refers to the weight corresponding to the newly added candidate material in the user operation diagram.
[0080] Exemplarily, the recipe generating device adds the types and weights of materials corresponding to the operation diagram sequence to the user operation diagram in the candidate recipes according to the operation diagram sequence to obtain the target recipe.
[0081] In the embodiment of the present application, the candidate materials in the integrated stove are detected by a first information acquisition device to obtain the first material data before the candidate materials are changed and the second material data after the candidate materials are changed, and the first material data and the second material data are sent to a data processing device; the first material data and the second material data are processed by the data processing device to obtain material change data of the candidate materials, and the material change data are sent to a recipe generation device; the material change data includes material type change data and material weight change data of the candidate materials; the weight of the candidate stoves during the cooking process is detected by a stove weight detection device, and when it is detected that the weight of the candidate stoves has changed, a device start instruction is sent to a second image acquisition device, a temperature detection device and a knob detection device; when the second image device receives the device start instruction, an image of the user's operation on the candidate stove is captured to obtain a user operation diagram and a user operation diagram. The operation diagram timing corresponds to the operation diagram, and the user operation diagram and the operation diagram timing are sent to the recipe generation device; when the temperature detection device receives the device start-up command, the stove temperature of the candidate stove is detected to obtain the stove temperature data, and the stove temperature data is sent to the recipe generation device; when the knob detection device receives the device start-up command, the rotation angle of the stove knob of the integrated stove is detected to obtain the knob angle data, and the knob angle data is sent to the recipe generation device; the recipe generation device sorts the user operation diagram according to the operation diagram timing to obtain the initial recipe; the recipe generation device marks the stove temperature and knob angle for the user operation diagram in the initial recipe according to the stove temperature data and the knob angle data to obtain the candidate recipe; the recipe generation device adds the type and weight of the material to the user operation diagram in the candidate recipe according to the material type change data and the material weight change data to obtain the target recipe. The above technical solution, by simultaneously collecting the material change data of the candidate materials, the stove temperature data of the candidate stoves and the rotation angle data of the stove knobs, enriches the user operation diagram in a hierarchical manner, which can make the generated recipe description information richer and help improve the accuracy of customized recipes.
[0082] Embodiment 3
[0083] Figure 3a This is a structural diagram of a custom recipe generation system provided according to the third embodiment of the present application, which can be applied to the case of generating custom recipes according to the user's cooking operation. The custom recipe generation system can be implemented in the form of hardware and / or software, and the custom recipe generation system can be configured in an integrated stove with a custom recipe function. Figure 3aAs shown, the system includes a first information acquisition device 10, a stove weight detection device 20, a second image acquisition device 30, a temperature detection device 40, a knob detection device 50, a data processing device 60 and a recipe generation device 70; the data processing device 60 is electrically connected to the first information acquisition device 10; the stove weight detection device 20 is electrically connected to the second image acquisition device 30, the temperature detection device 40 and the knob detection device 50 respectively; the recipe generation device 70 is electrically connected to the second image acquisition device 30, the data processing device 60, the temperature detection device 40 and the knob detection device 50 respectively;
[0084] The first information acquisition device 10 is used to detect the candidate material in the integrated stove, obtain the first material data before the candidate material changes and the second material data after the candidate material changes, and send the first material data and the second material data to the data processing device 60;
[0085] The data processing device 60 is used to process the first material data and the second material data to obtain material change data of the candidate material, and send the material change data to the recipe generating device 70; the material change data includes material type change data and material weight change data of the candidate material;
[0086] The stove weight detection device 20 is used to detect the weight of the candidate stove during the cooking process, and when it is detected that the weight of the candidate stove changes, it sends a device start instruction to the second image acquisition device 30, the temperature detection device 40 and the knob detection device 50;
[0087] The second imaging device 30 is used to collect images of the user's operation on the candidate cooker upon receiving the device start-up instruction, obtain a user operation image and an operation image sequence corresponding to the user operation image, and send the user operation image and the operation image sequence to the recipe generating device 70;
[0088] The temperature detection device 40 is used to detect the stove temperature of the candidate stove when receiving the device start instruction, obtain the stove temperature data, and send the stove temperature data to the recipe generation device 70;
[0089] The knob detection device 50 is used to detect the rotation angle of the stove knob of the integrated stove when receiving the device start command, obtain the knob angle data, and send the knob angle data to the recipe generation device 70;
[0090] The recipe generating device 70 is used to integrate the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain the target recipe.
[0091] It should be noted that the stove weight detection device 20 is located at the bottom of the candidate stove and is used to detect the weight change of the candidate stove during the cooking process.
[0092] In the embodiment of the present application, the candidate materials in the integrated stove are detected by a first information acquisition device to obtain the first material data before the candidate materials change and the second material data after the candidate materials change, and the first material data and the second material data are sent to a data processing device; the first material data and the second material data are processed by the data processing device to obtain material change data of the candidate materials, and the material change data are sent to a recipe generation device; the material change data includes material type change data and material weight change data of the candidate materials; the weight of the candidate stoves during cooking is detected by a stove weight detection device, and when it is detected that the weight of the candidate stoves changes, a device start instruction is sent to a second image acquisition device, a temperature detection device and a knob detection device; When receiving the device start-up instruction, the image device collects images of the user's operation on the candidate stove, obtains the user operation diagram and the operation diagram timing corresponding to the user operation diagram, and sends the user operation diagram and the operation diagram timing to the recipe generation device; when receiving the device start-up instruction, the temperature detection device detects the stove temperature of the candidate stove, obtains the stove temperature data, and sends the stove temperature data to the recipe generation device; when receiving the device start-up instruction, the knob detection device detects the rotation angle of the stove knob of the integrated stove, obtains the knob angle data, and sends the knob angle data to the recipe generation device; the recipe generation device integrates the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain the target recipe. The above technical solution enriches the user operation diagram by simultaneously collecting the material change data of the candidate material, the stove temperature data of the candidate stove and the rotation angle data of the stove knob, which can make the generated recipe description information richer and help improve the accuracy of the custom recipe.
[0093] Optionally, the recipe generating device 70 is specifically used for:
[0094] According to the time sequence of the operation diagrams, the user operation diagrams are sorted to obtain the initial recipe;
[0095] According to the stove temperature data and the knob angle data, the stove temperature and the knob angle are marked on the user operation icon in the initial recipe to obtain a candidate recipe;
[0096] According to the material type change data and the material weight change data, the material type and weight are added to the user operation graph in the candidate recipes to obtain the target recipe.
[0097] Optionally, the first material change data includes a first type set and a first weight set; see Figure 3bThe first information acquisition device 10 includes a first image acquisition module 110 and a first weight detection module 120; the first image acquisition module 110 is used to acquire an image of the first information acquisition area; the first weight detection module is used to detect the weight of the first information acquisition area; correspondingly, the weight detection device 20 is used to detect the weight of the candidate stoves in the second information acquisition area; the second image acquisition device 30 is used to acquire an image of the second information acquisition area.
[0098] For further information, see Figure 3b The first image acquisition module 110 is used to detect the type of candidate materials and determine a first type set of candidate materials; the first weight detection module 120 is located below the candidate materials in the first information acquisition area and is used to detect the weight of the candidate materials and determine a first weight set of candidate materials.
[0099] Optionally, the second material data includes a second type set and a second weight set; accordingly,
[0100] The first image acquisition module 110 is further used to re-detect the types of the candidate materials when a change in the candidate materials is identified, so as to obtain a second type set of candidate materials;
[0101] The first weight detection module 120 is further used to re-detect the weight of the candidate material when it is identified that the candidate material has changed, so as to obtain a second weight set of the candidate material.
[0102] Optionally, the data processing device 60 is specifically configured to:
[0103] Processing the first category set and the second category set to obtain material category change data of the candidate materials, and sending the material category change data to the recipe generating device 70;
[0104] Data processing is performed on the first weight set and the second weight set to obtain material weight change data of the candidate material, and the material weight change data is sent to the recipe generating device 70 .
[0105] The custom recipe generation system provided in the embodiments of the present application can execute the custom recipe generation method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to executing each custom recipe generation method.
[0106] Embodiment 4
[0107] Figure 44 is a schematic diagram of the structure of an electronic device 410 that implements the method for generating a custom recipe according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0108] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In RAM413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, ROM412 and RAM413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0109] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] Processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. Processor 411 executes the various methods and processes described above, such as a custom recipe generation method.
[0111] In some embodiments, the custom recipe generation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the custom recipe generation method described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured as a custom recipe generation method in any other appropriate manner (e.g., by means of firmware).
[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable custom recipe generation device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0114] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0119] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for generating a custom recipe, characterized in that: Applicable to an integrated stove with a custom recipe function; the integrated stove comprises a first information acquisition device, a stove weight detection device, a second image acquisition device, a temperature detection device, a knob detection device, a data processing device and a recipe generation device; the method comprises: Detecting the candidate materials in the integrated stove by the first information acquisition device, obtaining first material data before the candidate material changes and second material data after the candidate material changes, and sending the first material data and the second material data to the data processing device; Processing the first material data and the second material data by the data processing device to obtain material change data of the candidate material, and sending the material change data to the recipe generating device; the material change data includes material type change data and material weight change data of the candidate material; The weight of the candidate cooker during the cooking process is detected by the cooker weight detection device, and when a change in the weight of the candidate cooker is detected, a device start instruction is sent to the second image acquisition device, the temperature detection device, and the knob detection device; When receiving the device start-up instruction, the second imaging device collects images of the user's operation on the candidate cooker, obtains a user operation image and an operation image sequence corresponding to the user operation image, and sends the user operation image and the operation image sequence to the recipe generating device; When receiving the device start instruction, the temperature detection device detects the stove temperature of the candidate stove to obtain stove temperature data, and sends the stove temperature data to the recipe generation device; When receiving the device start instruction, the knob detection device detects the rotation angle of the cooker knob of the integrated stove to obtain knob angle data, and sends the knob angle data to the recipe generation device; The recipe generating device integrates the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain a target recipe.
2. The method according to claim 1, characterized in that: The step of integrating the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data by the recipe generating device to obtain a target recipe includes: The recipe generating device sorts the user operation diagram according to the operation diagram time sequence to obtain an initial recipe; The recipe generating device marks the cooker temperature and the knob angle on the user operation icon in the initial recipe according to the cooker temperature data and the knob angle data, so as to obtain a candidate recipe; The recipe generating device adds the type and weight of the material to the user operation diagram in the candidate recipe according to the material type change data and the material weight change data to obtain a target recipe.
3. The method according to claim 1, characterized in that The first material change data includes a first type set and a first weight set; the first information acquisition device includes a first image acquisition module and a first weight detection module; accordingly, the candidate materials in the integrated stove are detected by the first information acquisition device to obtain the first material data before the candidate materials are changed, including: Detecting the types of the candidate materials by using the first image acquisition module to determine a first type set of the candidate materials; The weight of the candidate materials is detected by the first weight detection module to determine a first weight set of the candidate materials.
4. The method according to claim 3, characterized in that The second material data includes a second type set and a second weight set; accordingly, the candidate materials in the integrated stove are detected by the first information acquisition device to obtain the second material data after the candidate materials are changed, including: When the first image acquisition module identifies that the candidate material has changed, re-detecting the types of the candidate material to obtain a second type set of the candidate material; When the first weight detection module identifies that the candidate material has changed, the weight of the candidate material is re-detected to obtain a second weight set of the candidate material.
5. The method according to claim 4, characterized in that Processing the first material data and the second material data by the data processing device to obtain material change data of the candidate material, and sending the material change data to the recipe generating device, including: Processing the first category set and the second category set by the data processing device to obtain material category change data of the candidate materials, and sending the material category change data to the recipe generating device; The first weight set and the second weight set are processed by the data processing device to obtain material weight change data of the candidate material, and the material weight change data is sent to the recipe generating device.
6. A custom recipe generation system, characterized in that: Configured in an integrated stove with a custom recipe function; the system includes a first information acquisition device, a stove weight detection device, a second image acquisition device, a temperature detection device, a knob detection device, a data processing device and a recipe generation device; the data processing device is electrically connected to the first information acquisition device; the stove weight detection device is electrically connected to the second image acquisition device, the temperature detection device and the knob detection device respectively; the recipe generation device is electrically connected to the second image acquisition device, the data processing device, the temperature detection device and the knob detection device respectively; The first information acquisition device is used to detect the candidate material in the integrated stove, obtain the first material data before the candidate material changes and the second material data after the candidate material changes, and send the first material data and the second material data to the data processing device; The data processing device is used to process the first material data and the second material data to obtain material change data of the candidate material, and send the material change data to the recipe generating device; the material change data includes material type change data and material weight change data of the candidate material; The stove weight detection device is used to detect the weight of the candidate stove during the cooking process, and when detecting that the weight of the candidate stove changes, sends a device start instruction to the second image acquisition device, the temperature detection device and the knob detection device; The second imaging device is used to collect images of the user's operation on the candidate cooker upon receiving the device start-up instruction, obtain a user operation image and an operation image sequence corresponding to the user operation image, and send the user operation image and the operation image sequence to the recipe generating device; The temperature detection device is used to detect the stove temperature of the candidate stove when receiving the device start instruction, obtain stove temperature data, and send the stove temperature data to the recipe generation device; The knob detection device is used to detect the rotation angle of the cooker knob of the integrated stove when receiving the device start instruction, obtain knob angle data, and send the knob angle data to the recipe generation device; The recipe generating device is used to integrate the user operation diagram according to the material change data, the operation diagram timing, the stove temperature data and the knob angle data to obtain a target recipe.
7. The system according to claim 6, characterized in that The recipe generating device is specifically used for: Sorting the user operation diagrams according to the operation diagram time sequence to obtain an initial recipe; According to the stove temperature data and the knob angle data, marking the stove temperature and the knob angle for the user operation icon in the initial recipe to obtain a candidate recipe; According to the material type change data and the material weight change data, the type and weight of the material are added to the user operation diagram in the candidate recipe to obtain a target recipe.
8. The system according to claim 6, characterized in that The first material change data includes a first type set and a first weight set; the first information acquisition device includes a first image acquisition module and a first weight detection module; accordingly, The first image acquisition module is used to detect the types of the candidate materials and determine a first type set of the candidate materials; The first weight detection module is used to detect the weight of the candidate materials and determine a first weight set of the candidate materials.
9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the custom recipe generation method as described in any one of claims 1-5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the custom recipe generation method as described in any one of claims 1 to 5 is implemented.
