Control method and device, electronic equipment and storage medium
By identifying the type and amount of ingredients in the blender and automatically adjusting the blending mode, the problem of complex operation and inconsistent taste of beverages in existing blenders has been solved, achieving simplified operation and quality assurance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2026-04-14
AI Technical Summary
Existing blenders cannot guarantee that different proportions and types of raw materials are mixed at the appropriate speed and time in beverage preparation, resulting in inconsistent taste and increased difficulty in operation.
By acquiring image information of the raw materials inside the mixer, computer vision technology is used to identify the type and amount of raw materials, and the mixing mode, including mixing speed and time, is automatically determined, avoiding manual settings.
It simplifies the operation, ensures the reliability and consistency of beverage production, and prevents raw materials from spilling out.
Smart Images

Figure CN117115509B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of food processing technology, specifically to a control method, apparatus, electronic device, and storage medium. Background Technology
[0002] In the beverage preparation process, various ingredients, such as milk, ice, yogurt, and various fruit raw materials, need to be crushed and mixed. Blenders were developed to address this need. A blender consists of a main body, a stirring rod, a stirring cup, a microswitch, and an operation display, and has both crushing and mixing functions.
[0003] In related technologies, different proportions and types of raw materials require blenders with varying speeds and blending times to obtain beverages with different flavors and textures. However, most blenders on the market rely on user experience or preset fixed speeds for blending, which cannot guarantee the taste of the beverage and increases the difficulty of operation. Summary of the Invention
[0004] In view of the above problems, this application provides a control method, apparatus, electronic device and storage medium to at least solve the problems existing in the related art.
[0005] In a first aspect, embodiments of this application provide a control method applied to a stirrer, comprising:
[0006] Acquire image information of the raw materials poured into the mixer;
[0007] The type and amount of the raw material are determined based on the image information of the raw material;
[0008] The first stirring mode of the agitator is determined based on the type and amount of the raw material, so as to control the agitator to operate in the first stirring mode.
[0009] In some embodiments, the method further includes:
[0010] Obtain image information of the mixer before the ingredients are poured in;
[0011] The remaining capacity of the mixer is determined based on the image information of the raw materials and the image information of the mixer.
[0012] The second stirring mode of the agitator is determined based on the type of raw material, the amount of raw material used, and the remaining capacity, so as to control the agitator to operate in the second stirring mode.
[0013] In some embodiments, determining the remaining capacity of the agitator based on image information of the raw material and image information of the agitator includes:
[0014] Identify the current capacity scale information of the stirrer on the image information of the raw material and the initial capacity scale information of the stirrer on the image information of the stirrer;
[0015] The remaining capacity of the stirrer is determined based on the current capacity scale information and the initial capacity scale information.
[0016] In some embodiments, the image information of the raw material includes: first image information and second image information; determining the category and amount of the raw material based on the image information includes:
[0017] Identify the first image information during the process of pouring in the raw materials and the second image information after the raw materials have been poured in;
[0018] The category of the raw material is determined based on the first image information;
[0019] The amount of raw material is determined based on the second image information and the image information of the stirrer.
[0020] In some embodiments, the stirring mode includes: a first stirring speed and a first stirring time; determining the first stirring mode of the stirrer based on the type and amount of the raw material includes:
[0021] Determine the category and amount of each of the aforementioned raw materials;
[0022] The preset first stirring speed and first stirring time are determined based on the category and amount of each of the raw materials.
[0023] In some embodiments, the stirring mode includes: a second stirring speed and a second stirring time; determining the second stirring mode of the stirrer based on the type of raw material, the amount of raw material used, and the remaining capacity includes:
[0024] Determine the category and amount of each of the aforementioned raw materials;
[0025] After various raw materials are poured into the mixer, a preset second mixing speed and a second mixing time are determined based on the corresponding categories of the raw materials, the amount of each raw material used, and the remaining capacity.
[0026] In some embodiments, after various raw materials are poured into the mixer, determining a preset second mixing speed and a second mixing time based on the corresponding categories of the various raw materials, the amount of each raw material used, and the remaining capacity includes:
[0027] The preset stirring speed and preset stirring time are determined based on the corresponding categories and amounts of the various raw materials.
[0028] Based on the remaining capacity, a preset second stirring speed is determined so that the stirrer does not overflow the raw materials;
[0029] Determine the relationship between the preset stirring speed and the second stirring speed;
[0030] If it is determined that the preset stirring speed is greater than the second stirring speed, the preset stirring speed is adjusted to the second stirring speed;
[0031] The second stirring time is determined based on the second stirring speed, the corresponding categories of various raw materials, and the amount of each raw material, so as to adjust the preset stirring time to the second stirring time.
[0032] Secondly, embodiments of this application provide a control device, including: an acquisition module for acquiring image information of raw materials poured into a mixer; a determination module for determining the type and amount of the raw materials based on the image information; and a control module for determining a first mixing mode of the mixer based on the type and amount of the raw materials, so as to control the mixer to operate in the first mixing mode.
[0033] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor, wherein the memory stores program code executable on the processor, and when the program code is executed by the processor, it implements the control method described in any embodiment of the first aspect.
[0034] Fourthly, embodiments of this application provide a computer storage medium storing one or more programs, which can be executed by an electronic device as described in the third aspect to implement the control method as described in any embodiment of the first aspect.
[0035] The present application provides a control method, device, electronic device, and storage medium that acquires image information of raw materials poured into a mixer, determines the type and amount of raw materials in the mixer based on the image information, and determines a first mixing mode of the mixer based on the type and amount of raw materials, thereby controlling the mixer to operate in the first mixing mode. This simplifies the operation and ensures the reliability and consistency of beverage preparation quality.
[0036] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0037] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings.
[0038] Figure 1 A schematic flowchart of a control method proposed in one embodiment of this application is shown;
[0039] Figure 2 A schematic diagram of an exemplary control execution flow according to an embodiment of this application is shown;
[0040] Figure 3 A schematic diagram of the control system of an exemplary mixer according to an embodiment of this application is shown;
[0041] Figure 4 A structural block diagram of a control device according to an embodiment of this application is shown;
[0042] Figure 5 A structural block diagram of an electronic device for performing a control method according to an embodiment of the present application is shown;
[0043] Figure 6 A computer-readable storage medium for storing or carrying a control method implementing an embodiment of the present application is shown. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.
[0045] In the beverage preparation process, milk, ice, yogurt, and various fruit ingredients need to be crushed and mixed. Blenders were developed to address this need. A blender consists of a main body, a stirring rod, a stirring cup, a microswitch, and an operating display, and has both crushing and mixing functions.
[0046] Different proportions and types of raw materials require blenders to operate at different speeds and for different times to obtain milkshakes with different flavors and textures. Taking milkshake makers as an example, most milkshake makers on the market allow users to set the blending time and speed based on their experience. This approach cannot guarantee the taste of the milkshake and increases the difficulty of operation. Alternatively, they may have a few preset speeds, which is quite limited.
[0047] To address the aforementioned issues, the applicant has proposed a control method, apparatus, electronic device, and storage medium as described in this application. By acquiring image information of the ingredients poured into a mixer, the applicant determines the type and amount of ingredients in the mixer based on this image information, and then determines a first mixing mode for the mixer based on the type and amount of ingredients. This controls the mixer to operate in the first mixing mode, simplifying operation and eliminating the need for manual mixing during beverage preparation, thus ensuring the reliability of beverage preparation. The control method will be described in detail in subsequent embodiments.
[0048] The following describes the application scenarios of the control method provided in the embodiments of this application:
[0049] Please see Figure 1 , Figure 1 This is a schematic flowchart of a control method provided in an embodiment of this application. In this embodiment, the control method can be applied to, for example... Figure 4 The control device 300 shown and Figure 5 The illustrated electronic device 200 may include one or more electronic devices. These multiple electronic devices can transmit information wirelessly and / or via wired means, and can collaboratively complete a control method. For example, the electronic devices may include a mixer and a user terminal device. The control method process is completed through interaction between the mixer and the user terminal device in conjunction with a control device. The user terminal device may be a computer, mobile phone, etc., and this application does not limit its use. Furthermore, the electronic device may have various communication interaction methods, which this application also does not limit. The following describes... Figure 1 The process shown is described in detail. This control method may include steps S110 to S130.
[0050] Step S110: Obtain image information of the raw materials poured into the mixer.
[0051] In this embodiment, computer vision technology can be used to identify features such as the color, shape, and size of the raw material. The image information can be used to analyze the composition of the raw material and to determine its height and volume. For example, images of the raw material can be acquired using devices such as cameras or laser sensors.
[0052] Step S120: Determine the type and amount of raw materials based on the image information of the raw materials.
[0053] In this embodiment of the application, computer vision technology and deep learning methods are used to extract features from raw material images and train a model so that it can automatically identify the type of raw material and estimate the amount of raw material used, such as the amount of different fruits, ice cubes and other raw materials.
[0054] Step S130: Determine the first mixing mode of the agitator based on the type and amount of raw materials, so as to control the agitator to operate in the first mixing mode.
[0055] In this embodiment, the stirring mode can be determined according to the type and amount of raw materials. For example, the stirring mode can be selected according to the characteristics of the raw materials and the desired mixing effect. For example, radial stirring, tangential stirring, spiral stirring and reciprocating stirring can be used for different types of raw materials. By directly using image recognition to control the stirrer to run in the first stirring mode, no manual setting is required, which simplifies the operation and ensures the reliability and consistency of beverage production quality.
[0056] The applicant considered the need to prevent raw materials from overflowing during the mixing process.
[0057] In some embodiments, the control method may further include steps S210 to S230.
[0058] Step S210: Obtain image information of the mixer before the raw materials are poured in.
[0059] In this embodiment, the image information of the mixer before the raw materials are poured in may include directly acquiring the scale information on the mixer, or identifying information such as the volume and size inside the mixer through image recognition.
[0060] Step S220: Determine the remaining capacity of the agitator based on the image information of the raw materials and the image information of the agitator.
[0061] In this embodiment, the change in the internal volume of the mixer can be calculated by combining the image information of the raw materials with the image information of the mixer, and then the specific situation of the remaining capacity can be obtained through image recognition.
[0062] Step S230: Determine the second mixing mode of the agitator based on the type of raw material, the amount of raw material used, and the remaining capacity, so as to control the agitator to operate in the second mixing mode.
[0063] In this embodiment, considering that the stirring time and speed are different for different beverages, and that excessive speed during stirring can cause beverage splashing, an optimal stirring mode is calculated by taking into account the remaining volume, the type of raw materials, and the amount of raw materials used. This prevents liquid splashing and ensures that beverages can be produced when the corresponding raw materials and processing speed are used.
[0064] In order to more accurately determine the remaining capacity of the mixer.
[0065] In some embodiments, step S220 may further include steps S222 to S224.
[0066] Step S222: Identify the current capacity scale information of the stirrer on the image information of the raw material and the initial capacity scale information of the stirrer on the image information of the stirrer.
[0067] Step S224: Determine the remaining capacity of the stirrer based on the current capacity scale information and the initial capacity scale information.
[0068] In this embodiment of the application, the type of liquid being poured into the cup is identified by the image during the pouring process, and the cup scale is obtained by identifying the image of the cup after pouring. The liquid in the cup can be poured into another cup, and the type and amount of other liquids being poured can be obtained in the same way. After the liquid is poured out, the first solid is put into the cup. The identification system obtains images of the cup before, during and after pouring to determine the remaining capacity.
[0069] In some embodiments, the image information of the raw material includes: first image information and second image information; step S120 may also include steps S122 and S126.
[0070] Step S122: Identify the first image information during the pouring of raw materials and the second image information after the raw materials are poured.
[0071] Step S124: Determine the category of raw materials based on the first image information.
[0072] In this embodiment of the application, multiple sets of raw material images and dynamic information can be obtained during the import process to achieve a more accurate determination of the raw material category.
[0073] Step S126: Determine the amount of raw materials based on the second image information and the image information of the stirrer.
[0074] In this embodiment of the application, considering the initial container volume and the changed state in the image information of the stirrer, the dosage of each type of raw material can be obtained.
[0075] In order to achieve rapid mixing.
[0076] In some embodiments, the stirring mode includes: a first stirring speed and a first stirring time; step S130 may include steps S132 to S134.
[0077] Step S132: Determine the category and amount of each raw material.
[0078] Step S134: Determine the preset first stirring speed and first stirring time based on the category and amount of each raw material.
[0079] In the embodiments of this application, when adding raw materials, the raw materials are added one by one. After the addition is completed, the volume and type of the different types of solids or liquids added are identified and confirmed.
[0080] In some possible implementations, when adding solids, it is determined whether the solid material is below the liquid surface. If the solid material is not below the liquid surface, the volume of solid above the liquid surface is estimated, and the remaining capacity is calculated based on the volume of solid above the liquid surface and the total volume of the agitator container.
[0081] In order to achieve efficient mixing and stirring when multiple raw materials are being mixed.
[0082] In some embodiments, the stirring mode includes: a second stirring speed and a second stirring time; step S230 may include steps S232 to S234.
[0083] Step S232: Determine the category and amount of each raw material.
[0084] Step S234: After all kinds of raw materials are poured into the mixer, a preset second mixing speed and second mixing time are determined based on the corresponding types of raw materials, the amount of each raw material, and the remaining capacity.
[0085] In the embodiments of this application, after various raw materials of different categories are added, the remaining capacity and the corresponding raw materials are used to calculate the stirring time and stirring speed to ensure that the liquid does not overflow.
[0086] Considering the possibility of overflow after the initial determination of raw materials, in order to prevent overflow while ensuring efficient mixing,
[0087] In some embodiments, step S234 may further include steps S2341 to S2345.
[0088] Step S2341: Determine the preset stirring speed and preset stirring time based on the corresponding categories and amounts of various raw materials.
[0089] Step S2342: Determine a preset second stirring speed based on the remaining capacity to prevent the stirrer from overflowing the raw materials.
[0090] Step S2343: Determine the relationship between the preset stirring speed and the second stirring speed.
[0091] Step S2344: If it is determined that the preset stirring speed is greater than the second stirring speed, adjust the preset stirring speed to the second stirring speed.
[0092] Step S2345: Determine the second stirring time based on the second stirring speed, the corresponding categories of various raw materials, and the amount of various raw materials, so as to adjust the preset stirring time to the second stirring time.
[0093] In this embodiment, the remaining capacity of the cup and the stirring speed are used to look up a table to determine whether overflow will occur. The table mapping relationship can be that when the remaining capacity is zero, the stirring speed is greater than a threshold and overflow will occur. The threshold can be updated in the second stage. If overflow occurs, the stirring speed is reduced to prevent overflow. The final stirring speed and stirring time are adjusted, and the milkshake is made according to the stirring speed and stirring time. During the operation, the image of the cup is acquired to identify whether the warning scale has been reached. If it is exceeded, the speed is reduced until it stabilizes below the warning scale.
[0094] In some possible embodiments, the mixer is equipped with a smart camera; acquiring image information of the raw materials poured into the mixer may include:
[0095] It uses a smart camera to collect image information of each type of ingredient that the user pours into the mixer each time.
[0096] In this embodiment, each time a liquid or solid is poured in, the item identification becomes more accurate, and the amount of item used can be accurately obtained by identifying the measuring cup scale information before and after pouring in a single item.
[0097] Please see Figure 3 , Figure 3 A schematic diagram of an exemplary mixer control system provided for implementation of this application.
[0098] exist Figure 3 In this context, blenders can include food processors, milkshake makers, beverage machines, etc. Taking a milkshake maker as an example, an intelligent recognition milkshake maker control system can be composed of a main control driver module, an intelligent acquisition and recognition module, an operation display module, a motor power module, and a container module.
[0099] Intelligent Acquisition and Recognition Module: Used for item recognition. It captures images of items via an intelligent camera and transmits the image data to an intelligent chip. The intelligent chip processes the image information of the raw materials and extracts feature vectors (color, shape, etc.). These feature vectors are then input into an image recognition deep learning module to obtain the type and quantity of the raw materials and items. This information is then transmitted to the main control driver module via serial communication.
[0100] Operation display module: can include 2 buttons and 1 indicator light, item recognition button and start / stop button.
[0101] Motor power module: may include a motor and a stirring rod;
[0102] Container module: can be configured with graduated measuring cups;
[0103] Main Control Drive Module: Upon receiving the raw material identification button, the main control drive module transmits the information to the intelligent acquisition and identification module via serial communication and flashes the indicator light. The intelligent acquisition and identification module, upon receiving the command, begins identifying the material information. After identification, it communicates the type and quantity of raw materials to the main control module via serial communication, and the main control indicator light remains on. The user continues to press the material identification button, and the process repeats. Once all raw materials have been identified, the user presses the start / stop button. The main control module, based on the intelligently identified raw material type and quantity, the corresponding stirring speed and time mapping, and the anti-overflow mapping table, obtains the final stirring speed and time, and then starts driving the motor to move the stirring rod to make the smoothie.
[0104] During the production process, the intelligent data acquisition and recognition module identifies whether the contents of the cup exceed the warning scale, adjusts the stirring speed accordingly, and updates the threshold to the anti-overflow mapping table.
[0105] The process involves pouring in a liquid or solid at a time within the range of the smart camera to improve the accuracy of item identification. This allows the system to identify the measurement information on the measuring cup before and after each item is poured in in order to determine the amount of item used.
[0106] Please see Figure 2 , Figure 2 An exemplary control flow diagram provided for the implementation of this application shows that the control process can be implemented through the following flow:
[0107] The first stage involves intelligently identifying the types and quantities of raw materials used in milkshake preparation, as well as the capacity of the milkshake container, and calculating the blending speed and time based on the acquired information. The second stage involves starting the milkshake machine to begin blending and preparation.
[0108] Step S1: Intelligently identifies the types and amounts of raw materials used in milkshake preparation, as well as the cup capacity:
[0109] First, identify the maximum scale value of cup A with graduations on its inner wall, which can be denoted as the maximum capacity of the cup, Vmax. Then, pour the first liquid into empty cup B with graduations on its inner wall. The AI recognition system obtains images of the pouring process and the image after the liquid has been poured into cup B.
[0110] The type of liquid L1 is identified by the image during the pouring process, and the cup scale VL1 is obtained by identifying the image of the cup after pouring. VL1 is the current volume of liquid used.
[0111] The liquid in cup B can be poured into cup A. The type Ln and amount VLn of other liquids poured in can be obtained in the same way. After the liquid is poured out, the first solid can be put into cup A. The AI recognition system can obtain images of the cup before, during and after the liquid is poured in.
[0112] The type of solid S1 poured into cup A is identified by the image during the pouring process. The cup scale Vf is obtained by identifying the image of the cup before pouring. The cup scale Vs is obtained by identifying the image of the cup after pouring. VS1 = (Vs - Vf) is the current volume of solid used.
[0113] Using the same method, obtain the types Sn and amounts VSn of other poured solids; after all raw materials have been poured out, obtain an image of cup A, identify the scale Ve, and V = (Vmax - Ve) is the remaining capacity of cup A; after obtaining the types and amounts of raw materials through the AI recognition method, according to the mapping relationship between one type and amount of raw materials and one stirring speed and stirring time, compare all the types identified by the AI to obtain the highest stirring speed n1 and the longest stirring time t.
[0114] The table is used to determine whether overflow will occur by looking up the remaining capacity V of cup A and the stirring speed n1. The table shows that when the remaining capacity is V, the stirring speed is greater than the threshold n and overflow will occur. This table is derived from a large number of test experiments with different combinations of speed and remaining capacity. The threshold can be updated in the second stage. If overflow occurs, the stirring speed n1 is reduced to prevent overflow. The final stirring speed n and stirring time t are obtained.
[0115] In the second stage, the milkshake machine is started and milkshakes are made according to the mixing speed n and mixing time t. During the operation, the image of the cup A is acquired to identify whether the warning scale has been reached. If it exceeds the warning scale, the speed is reduced until it stabilizes below the warning scale, and the speed threshold is recorded and updated in the table.
[0116] Using the above methods, the milkshake machine can automatically determine the mixing speed and time according to different types and amounts of raw materials, producing high-quality milkshakes without requiring prior experience from the operator, thus simplifying the operation.
[0117] Please see Figure 4 , Figure 4 This application provides a structural block diagram of a control device 300, applied to a mixer. The control device 300 includes: an acquisition module 310, a confirmation module 320, and a control module 330, wherein:
[0118] The acquisition module 310 is used to acquire image information of the raw materials poured into the mixer.
[0119] The determination module 320 is used to determine the type and amount of raw materials based on the image information of the raw materials.
[0120] The control module 330 is used to determine the first mixing mode of the agitator based on the type and amount of raw materials, so as to control the agitator to operate in the first mixing mode.
[0121] In some embodiments, the control module 300 may further include a first acquisition module, a first confirmation module, and a first control module, wherein:
[0122] The first acquisition module is used to acquire image information of the stirrer before any raw materials are poured in.
[0123] The first confirmation module is used to determine the remaining capacity of the agitator based on the image information of the raw materials and the image information of the agitator.
[0124] The first control module is used to determine the second mixing mode of the agitator based on the type of raw material, the amount of raw material used, and the remaining capacity, so as to control the agitator to operate in the second mixing mode.
[0125] In some embodiments, the first confirmation module further includes: an identification module and a second confirmation module, wherein:
[0126] The identification module is used to identify the current capacity scale information of the stirrer on the image information of the raw material and the initial capacity scale information of the stirrer on the image information of the stirrer.
[0127] The second confirmation module is used to determine the remaining capacity of the stirrer based on the current capacity scale information and the initial capacity scale information.
[0128] In some embodiments, the image information of the raw material includes: first image information and second image information; the determining module 320 includes: a first identification module, a third confirmation module, and a fourth confirmation module, wherein:
[0129] The first recognition module is used to recognize the first image information during the pouring of raw materials and the second image information after the raw materials are poured.
[0130] The third confirmation module is used to determine the category of raw materials based on the first image information.
[0131] The fourth confirmation module is used to determine the amount of raw materials based on the second image information and the image information of the stirrer.
[0132] In some embodiments, the stirring mode includes: a first stirring speed and a first stirring time; the control module includes: a fifth confirmation module and a sixth confirmation module, wherein:
[0133] The fifth confirmation module is used to determine the category and quantity of each raw material.
[0134] The sixth confirmation module is used to determine the preset first stirring speed and first stirring time based on the category and amount of each raw material.
[0135] In some embodiments, the stirring mode includes: a second stirring speed and a second stirring time; the first control module further includes: a seventh confirmation module and an eighth confirmation module, wherein:
[0136] The seventh confirmation module is used to determine the category and quantity of each raw material.
[0137] The eighth confirmation module is used to determine the preset second stirring speed and second stirring time based on the type of each raw material, the amount of each raw material used, and the remaining capacity after the various raw materials are poured into the mixer.
[0138] In some embodiments, the eighth confirmation module includes a ninth confirmation module, a tenth confirmation module, a judgment module, a first adjustment module, and a second adjustment module, wherein:
[0139] The ninth confirmation module is used to determine the preset stirring speed and preset stirring time based on the corresponding types and amounts of various raw materials.
[0140] The tenth confirmation module is used to determine a preset second stirring speed based on the remaining capacity to prevent the agitator from overflowing raw materials.
[0141] The judgment module is used to determine the relationship between the preset stirring speed and the second stirring speed.
[0142] The first adjustment module is used to adjust the preset stirring speed to the second stirring speed when it is determined that the preset stirring speed is greater than the second stirring speed.
[0143] The second adjustment module is used to determine the second stirring time based on the second stirring speed, the corresponding types of raw materials, and the amount of raw materials used, so as to adjust the preset stirring time to the second stirring time.
[0144] It should be noted that the device embodiments in this application correspond to the aforementioned method embodiments. The specific principles in the device embodiments can be found in the content of the aforementioned method embodiments, and will not be repeated here.
[0145] In the several embodiments provided in this example, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0146] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0147] Please see Figure 5 , Figure 5The present application provides a structural block diagram of an electronic device 200 that can perform the above-described control method. The electronic device 200 may be a smartphone, tablet computer, computer, or portable computer.
[0148] The electronic device 200 also includes a processor 202 and a memory 204. The memory 204 stores programs that can execute the contents of the foregoing embodiments, and the processor 202 can execute the programs stored in the memory 204.
[0149] The processor 202 may include one or more cores for data processing and message matrix units. The processor 202 connects to various parts of the electronic device 200 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 204, and by calling data stored in the memory 204. Optionally, the processor 202 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 202 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem / decoder. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem is used for wireless communication. It is understood that the modem / decoder may also not be integrated into the processor and may be implemented separately through a communication chip.
[0150] Memory 204 may include random access memory (RAM) or read-only memory (ROM). Memory 204 can be used to store instructions, programs, code, code sets, or instruction sets. Memory 204 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., instructions for a user to obtain random numbers), instructions for implementing the various method embodiments described below, etc. The data storage area may also store data (e.g., random numbers) created by the terminal during use.
[0151] Electronic device 200 may also include a network module and a screen. The network module is used to receive and transmit electromagnetic waves, converting electromagnetic waves into electrical signals, thereby enabling communication with communication networks or other devices, such as audio playback devices. The network module may include various existing circuit elements used to perform these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, SIM cards, memory, etc. The network module can communicate with various networks such as the Internet, corporate intranets, and wireless networks, or communicate with other devices via wireless networks. The aforementioned wireless networks may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The screen can display interface content and facilitate data interaction.
[0152] Please refer to Figure 6 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 400 stores program code 410, which can be called by a processor to execute the methods described in the above method embodiments.
[0153] The computer-readable storage medium 400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 400 has storage space for program code 410 that performs any of the method steps described above. This program code 410 can be read from or written to one or more computer program products. The program code 410 may, for example, be compressed in a suitable form.
[0154] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the control methods described in the various optional implementations above.
[0155] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A control method applied to a stirrer, characterized in that, The method includes: Acquire image information of the raw materials poured into the mixer; The type and amount of the raw material are determined based on the image information of the raw material; The first stirring mode of the agitator is determined based on the type and amount of the raw material, so as to control the agitator to operate in the first stirring mode; The method further includes: Obtain image information of the mixer before the ingredients are poured in; The remaining capacity of the mixer is determined based on the image information of the raw materials and the image information of the mixer. The second stirring mode of the agitator is determined based on the type of raw material, the amount of raw material used, and the remaining capacity, so as to control the agitator to operate in the second stirring mode; The method further includes: When the raw material includes solids, it is determined whether the solids are below the liquid surface. If the solids are not below the liquid surface, the volume of the solids above the liquid surface is estimated, and the remaining capacity is calculated based on the volume of the solids above the liquid surface and the total volume of the agitator container.
2. The control method according to claim 1, characterized in that, Determining the remaining capacity of the stirrer based on the image information of the raw material and the image information of the stirrer includes: Identify the current capacity scale information of the stirrer on the image information of the raw material and the initial capacity scale information of the stirrer on the image information of the stirrer; The remaining capacity of the stirrer is determined based on the current capacity scale information and the initial capacity scale information.
3. The control method according to claim 1, characterized in that, The image information of the raw material includes: first image information and second image information; determining the category and amount of the raw material based on the image information includes: Identify the first image information during the process of pouring in the raw materials and the second image information after the raw materials have been poured in; The category of the raw material is determined based on the first image information; The amount of raw material is determined based on the second image information and the image information of the stirrer.
4. The control method according to claim 1, characterized in that, The stirring mode includes: a first stirring speed and a first stirring time; determining the first stirring mode of the stirrer based on the type and amount of the raw material includes: Determine the category and amount of each of the aforementioned raw materials; The preset first stirring speed and first stirring time are determined based on the category and amount of each of the raw materials.
5. The control method according to claim 1, characterized in that, The stirring mode includes: a second stirring speed and a second stirring time; determining the second stirring mode of the stirrer based on the type of raw material, the amount of raw material used, and the remaining capacity includes: Determine the category and amount of each of the aforementioned raw materials; After various raw materials are poured into the mixer, a preset second mixing speed and a second mixing time are determined based on the corresponding categories of the raw materials, the amount of each raw material used, and the remaining capacity.
6. The control method according to claim 5, characterized in that, After various raw materials are poured into the mixer, a preset second mixing speed and a second mixing time are determined based on the corresponding categories of the raw materials, the amount of each raw material used, and the remaining capacity, including: The preset stirring speed and preset stirring time are determined based on the corresponding categories and amounts of the various raw materials. Based on the remaining capacity, a preset second stirring speed is determined so that the stirrer does not overflow the raw materials; Determine the relationship between the preset stirring speed and the second stirring speed; If it is determined that the preset stirring speed is greater than the second stirring speed, the preset stirring speed is adjusted to the second stirring speed; The second stirring time is determined based on the second stirring speed, the corresponding categories of various raw materials, and the amount of each raw material, so as to adjust the preset stirring time to the second stirring time.
7. A control device applied to a stirrer, characterized in that, The device includes: The acquisition module is used to acquire image information of the raw materials poured into the mixer; The determination module is used to determine the type and amount of the raw material based on the image information of the raw material; A control module is used to determine a first stirring mode of the agitator based on the type and amount of the raw material, so as to control the agitator to operate in the first stirring mode. The first acquisition module is used to acquire image information of the stirrer before any raw materials have been poured in; The first confirmation module is used to determine the remaining capacity of the agitator based on the image information of the raw materials and the image information of the agitator. The first control module is used to determine the second stirring mode of the agitator based on the type of raw material, the amount of raw material used, and the remaining capacity, so as to control the agitator to operate in the second stirring mode. The control device is also used to determine whether the solid is below the liquid surface when the raw material includes solids, and to estimate the volume of the solid above the liquid surface if the solid is not below the liquid surface, and to calculate the remaining capacity based on the volume of the solid above the liquid surface and the total volume of the agitator container.
8. An electronic device, characterized in that, The electronic device includes a memory and a processor, wherein the memory stores program code that can run on the processor, and when the program code is executed by the processor, it implements the control method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code that can be invoked by one or more processors to execute the control method as described in any one of claims 1-6.
Citation Information
Patent Citations
Intelligent blending system
CN107533042A
Control method and device of intelligent equipment
CN109031988A
Domestic electric appliance control method and device, domestic electric appliance and readable storage medium
CN114617449A