A recipe generation method and device

By text recognition and processing of long pictures of ordinary recipes, a cooking program adapted to smart kitchen appliances is generated, which solves the problem of smart kitchen appliances being unable to automatically cook ordinary recipes, and increases the diversity of recipes and user experience.

CN113848745BActive Publication Date: 2024-08-23HISENSE HOME APPLIANCES GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111223281.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-20
Publication Date
2024-08-23
Estimated Expiration
2041-10-20

AI Technical Summary

Technical Problem

Smart kitchen appliances cannot automatically cook dishes according to ordinary recipes, resulting in a limited variety of dishes and unable to meet users' needs for dish diversity.

Method used

By obtaining long pictures of ordinary recipes for text recognition, the text information of the cooking steps is obtained and processed to generate cooking programs that can be executed by smart kitchen appliances, thereby converting them into smart recipes suitable for smart kitchen appliances.

Benefits of technology

It has realized the transformation of a large number of ordinary recipes into smart recipes, increased the diversity of recipes, met the needs of users to try different new dishes, and improved the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113848745B
    Figure CN113848745B
Patent Text Reader

Abstract

The embodiment of the present application provides a recipe generation method and device, which relates to the field of smart kitchen appliance technology, and can easily and quickly convert ordinary recipes into smart recipes that can be executed by smart kitchen appliances, so as to provide users with more smart recipes. The method includes: obtaining a long picture of an ordinary recipe, which is used to record all cooking steps in the ordinary recipe; performing text recognition on the long picture to obtain text information of all cooking steps in the ordinary recipe; processing the text information of all cooking steps in the ordinary recipe to obtain a cooking program; and generating a smart recipe according to the cooking program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent kitchen appliances, and in particular to a recipe generation method and device. Background Art

[0002] As people's living standards improve, their requirements for quality of life are getting higher and higher. Various smart kitchen appliances are increasingly appearing in people's kitchens, bringing people a better cooking experience. Among them, smart kitchen appliances can be used with smart recipes to automatically cook food, simplify the manual operation process, and provide users with a more convenient cooking method.

[0003] Among them, most smart recipes are preset according to the cooking mode of smart kitchen appliances, and the recipe structure is simple, which makes the types of dishes that smart kitchen appliances can make according to smart recipes very limited. When users want to try different new dishes, they may choose to consult existing ordinary recipes. However, since ordinary recipes are not compatible with smart kitchen appliances, smart kitchen appliances cannot automatically cook the corresponding dishes according to ordinary recipes, which cannot meet users' needs for dish diversity. Summary of the invention

[0004] The embodiments of the present application provide a recipe generation method and device, which can easily and quickly convert ordinary recipes into smart recipes that can be executed by smart kitchen appliances, thereby improving the diversity of smart recipes.

[0005] In a first aspect, an embodiment of the present application provides a method for generating a recipe, the method comprising: obtaining a long picture of an ordinary recipe, the long picture being used to record all cooking steps in the ordinary recipe; performing text recognition on the long picture to obtain text information of all cooking steps in the ordinary recipe; processing the text information of all cooking steps in the ordinary recipe to obtain a cooking procedure; and generating a smart recipe based on the cooking procedure.

[0006] Based on the above technical solution, by performing text recognition on the long picture used to record all the cooking steps in the ordinary recipe, the text information of all the cooking steps in the ordinary recipe is identified. The text information of all the cooking steps in the ordinary recipe is further processed to obtain a cooking program that can be directly executed by the smart kitchen appliance, and then generate a smart recipe that is compatible with the smart kitchen appliance. Different from the existing smart recipes that are mostly preset according to the cooking mode of the smart kitchen appliance, this solution only needs to obtain the long picture of the ordinary recipe, and it can quickly and easily convert the ordinary recipe into a smart recipe, thereby providing users with a convenient cooking method.

[0007] In addition, this solution can convert a large number of existing ordinary recipes into smart recipes, which is conducive to the scalability of smart recipes and can make smart recipes more diversified, thereby meeting the needs of users to try different new dishes and improving the user experience.

[0008] In a second aspect, a recipe execution method is provided, comprising: receiving an instruction to execute a smart recipe, the smart recipe including a cooking program, the cooking program including control programs for multiple cooking stages; in the process of executing the smart recipe, if there is target reminder information in the smart recipe that needs to be broadcast before the control program of the target cooking stage to be executed, then playing the target reminder information, the target cooking stage being any one of the multiple cooking stages; receiving a confirmation instruction, the confirmation instruction being used to instruct the execution of the control program for the target cooking stage; and executing the control program for the target cooking stage in response to the user's confirmation instruction.

[0009] Based on the above technical solution, the smart kitchen appliance can broadcast relevant reminder information during the automatic cooking process, so that the user can perform relevant auxiliary cooking operations in time to ensure that the cooking device can cook dishes that meet expectations based on the recipe.

[0010] According to a third aspect, a recipe generation device is provided, comprising: a transceiver unit for obtaining a long picture of a common recipe, wherein the long picture is used to record all cooking steps in the common recipe; a recognition unit for performing text recognition on the long picture to obtain text information of all cooking steps in the common recipe; a processing unit for processing the text information of all cooking steps in the common recipe to obtain a cooking procedure; and the processing unit is further used to generate an intelligent recipe according to the cooking procedure.

[0011] In a fourth aspect, a recipe generation device is provided, comprising: a transceiver unit, for receiving an instruction to instruct execution of a smart recipe, wherein the smart recipe includes a cooking program, and the cooking program includes control programs for multiple cooking stages; a broadcasting unit, for playing target reminder information when there is target reminder information in the smart recipe that needs to be broadcast before the control program of the target cooking stage to be executed, and the target cooking stage is any one of multiple cooking stages; the transceiver unit is also used to receive a confirmation instruction, and the confirmation instruction is used to instruct execution of the control program of the target cooking stage; and a processing unit, for executing the control program of the target cooking stage in response to the user's confirmation instruction.

[0012] In a fifth aspect, an electronic device is provided, comprising: one or more processors and a memory; wherein the memory stores one or more computer programs, and the one or more computer programs include instructions, and when the instructions are executed by the electronic device, the electronic device executes any one of the methods provided in the first aspect above.

[0013] In a sixth aspect, a smart kitchen appliance is provided, comprising: one or more processors and a memory; wherein the memory stores one or more computer programs, and the one or more computer programs include instructions, and when the instructions are executed by the smart kitchen appliance, the smart kitchen appliance executes any one of the methods provided in the above-mentioned second aspect.

[0014] In a seventh aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer instructions, and when the computer instructions are executed on a computer, the computer executes any one of the methods provided in the first or second aspect above.

[0015] In an eighth aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer executes any one of the methods provided in the first or second aspect.

[0016] The technical effects brought about by any possible solution in the third to eighth aspects mentioned above can be analyzed by referring to the corresponding beneficial effects in the first or second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a system provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of the structure of a server provided in an embodiment of the present application;

[0020] Figure 4 A flowchart of a recipe generation method provided in an embodiment of the present application;

[0021] Figure 5 A schematic diagram of a long picture of a common recipe provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of a display interface of a terminal device provided in an embodiment of the present application;

[0023] Figure 7 A schematic diagram of a display interface of another terminal device provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram of a long picture of another common recipe provided in an embodiment of the present application;

[0025] Fig. 9 A schematic diagram of a picture of a common recipe provided in an embodiment of the present application;

[0026] Fig.10 A schematic diagram of another common recipe picture provided in an embodiment of the present application;

[0027] Fig.11 A schematic diagram of a display interface of another terminal device provided in an embodiment of the present application;

[0028] Fig.12 A flowchart of another recipe generation method provided in an embodiment of the present application;

[0029] Fig.13 A flowchart of another recipe generation method provided in an embodiment of the present application;

[0030] Fig.14 A flowchart of another recipe generation method provided in an embodiment of the present application;

[0031] Fig.15 A schematic diagram of the composition of a recipe generation device provided in an embodiment of the present application;

[0032] Fig.16 A schematic diagram of the composition of a recipe execution device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0034] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0035] As described in the background art, there are a large number of common recipes available, but since common recipes are not compatible with smart kitchen appliances, smart kitchen appliances cannot automatically prepare corresponding dishes according to common recipes.

[0036] In view of the above technical problems, the embodiment of the present application provides a recipe generation method, which can perform text recognition on a long picture of a common recipe to obtain text information of all cooking steps in the common recipe. Then, the text information of all cooking steps in the common recipe is processed to obtain a cooking program that can be directly executed by a smart kitchen appliance. Therefore, a smart recipe that is compatible with the smart kitchen appliance can be generated based on the obtained cooking program.

[0037] Based on this, a large number of existing ordinary recipes can be converted into smart recipes, which is conducive to the scalability of smart recipes and can make smart recipes more diversified, thereby meeting the needs of users to try different new dishes and enhancing the user experience of smart kitchen appliances.

[0038] Figure 1 The system to which the method provided in the embodiment of the present application is applicable is shown as an example. Figure 1 As shown, the system includes a terminal device and a smart kitchen appliance. The terminal device can establish a connection with the smart kitchen appliance so that the terminal device and the smart kitchen appliance can communicate with each other.

[0039] In some embodiments, an application program related to smart kitchen appliances may be installed on the terminal device, and the user may control the smart kitchen appliance through the application program related to the smart kitchen appliance on the terminal device. In an embodiment of the present application, the user may upload a long picture of a common recipe to the application program related to the smart kitchen appliance, thereby converting the common recipe into a smart recipe that can be directly recognized by the smart kitchen appliance through the application program related to the smart kitchen appliance.

[0040] Exemplarily, the terminal device may be any form of mobile terminal, such as a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) and virtual reality (VR) devices, etc., which can be installed with smart kitchen appliance related applications.

[0041] For example, the smart kitchen appliance may be a smart rice cooker, a smart electric frying pan, a smart oven, a smart steam oven, a cooking robot, or other cooking device with an automatic cooking function, without limitation. The smart kitchen appliance may obtain a smart recipe, execute the received smart recipe, and complete the cooking of the corresponding dish according to the smart recipe.

[0042] Optional, such as Figure 1As shown, the system may further include a server, which may be a management server of an application program related to the smart kitchen appliance. The server may establish connections with the terminal device and the smart kitchen appliance respectively, so that the terminal device may realize information interaction with the smart kitchen appliance through the server.

[0043] Exemplarily, the server may be a device with data processing capability and data storage capability. Exemplarily, it may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center, which is not limited thereto.

[0044] Taking the terminal device in the embodiment of the present application as a mobile phone as an example, the following Figure 2 Describe the general hardware architecture of mobile phones.

[0045] like Figure 2 As shown, the mobile phone 100 may specifically include: a processor 101, a radio frequency (RF) circuit 102, a memory 103, a touch screen 104, a Bluetooth device 105, one or more sensors 106, a Wi-Fi device 107, a positioning device 108, an audio circuit 109, a peripheral interface 110, and a power system 111. These components can be connected through one or more communication buses or signal lines ( Figure 2 Those skilled in the art will appreciate that Figure 2 The hardware structure shown in the figure does not constitute a limitation on the mobile phone 100. The mobile phone 100 may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.

[0046] The processor 101 is the control center of the mobile phone 100, and uses various interfaces and lines to connect various parts of the mobile phone 100, and executes various functions of the mobile phone 100 and processes data by running or executing applications (hereinafter referred to as Apps) stored in the memory 103 and calling data stored in the memory 103. In some embodiments, the processor 101 may include one or more processing units.

[0047] The radio frequency circuit 102 can be used for receiving and sending wireless signals during the process of sending and receiving information or making calls. In particular, the radio frequency circuit 102 can receive the downlink data of the base station and send it to the processor 101 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency circuit 102 can also communicate with other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to the global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, etc.

[0048] The memory 103 is used to store applications and data. The processor 101 executes various functions and data processing of the mobile phone 100 by running the applications and data stored in the memory 103. The memory 103 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and applications required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created when using the mobile phone 100 (such as audio data, a phone book, etc.). In addition, the memory 103 may include a high-speed random access memory, and may also include a non-volatile memory, such as a disk storage device, a flash memory device or other volatile solid-state storage device. The memory 103 can store various operating systems, such as the IOS operating system developed by Apple and the Android operating system developed by Google.

[0049] The touch screen 104 may include a touch panel 104-1 and a display 104-2. The touch panel 104-1 may collect touch events on or near the user of the mobile phone 100 (e.g., the user uses a finger, a stylus, or any other suitable object on or near the touch panel 104-1), and sends the collected touch information to other devices such as the processor 101.

[0050] In the embodiment of the present application, the mobile phone 100 may also have a fingerprint recognition function. For example, a fingerprint recognition device 112 may be configured on the back of the mobile phone 100 (e.g., below the rear camera), or on the front of the mobile phone 100 (e.g., below the touch screen 104). For another example, a fingerprint acquisition device 112 may be configured in the touch screen 104 to implement the fingerprint recognition function, that is, the fingerprint acquisition device 112 may be integrated with the touch screen 104 to implement the fingerprint recognition function of the mobile phone 100. In this case, the fingerprint acquisition device 112 is configured in the touch screen 104, may be a part of the touch screen 104, or may be configured in the touch screen 104 in other ways. The main component of the fingerprint acquisition device 112 in the embodiment of the present application is a fingerprint sensor, which may use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technology.

[0051] In the embodiment of the present application, the mobile phone 100 may further include a Bluetooth device 105 for implementing data exchange between the mobile phone 100 and other short-range terminals (such as the mobile phone 100, smart watches, etc.). The Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip, etc.

[0052] The mobile phone 100 may also include at least one sensor 106, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 104 according to the brightness of the ambient light, and the proximity sensor may turn off the power of the display when the mobile phone 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the posture of the mobile phone 100 (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the mobile phone 100 can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0053] The Wi-Fi device 107 is used to provide the mobile phone 100 with network access that complies with the Wi-Fi related standard protocols. The mobile phone 100 can access the Wi-Fi access point through the Wi-Fi device 107, thereby helping the user to send and receive emails, browse web pages, and access streaming media, etc. It provides the user with wireless broadband Internet access. In some other embodiments, the Wi-Fi device 107 can also be used as a Wi-Fi wireless access point to provide Wi-Fi network access for other terminals.

[0054] The positioning device 108 is used to provide the geographical location for the mobile phone 100. It is understandable that the positioning device 108 can specifically be a receiver of a global positioning system (GPS) or a Beidou satellite navigation system, a Russian GLONASS or other positioning system. After receiving the geographical location sent by the above positioning system, the positioning device 108 sends the information to the processor 101 for processing, or sends it to the memory 103 for storage. In some other embodiments, the positioning device 108 can also be a receiver of an assisted global satellite positioning system (AGPS). The AGPS system assists the positioning device 108 in completing the ranging and positioning services by acting as an auxiliary server. In this case, the auxiliary positioning server communicates with the positioning device 108 (i.e., GPS receiver) of the terminal such as the mobile phone 100 through a wireless communication network to provide positioning assistance. In some other embodiments, the positioning device 108 can also be a positioning technology based on a Wi-Fi access point. Since each Wi-Fi access point has a globally unique MAC address, the terminal can scan and collect the broadcast signals of the surrounding Wi-Fi access points when Wi-Fi is turned on, so the MAC address broadcasted by the Wi-Fi access point can be obtained; the terminal sends these data (such as MAC addresses) that can identify the Wi-Fi access point to the location server through the wireless communication network, and the location server retrieves the geographical location of each Wi-Fi access point, and calculates the geographical location of the terminal based on the strength of the Wi-Fi broadcast signal and sends it to the positioning device 108 of the terminal.

[0055] The audio circuit 109, the speaker 113, and the microphone 114 can provide an audio interface between the user and the mobile phone 100. The audio circuit 109 can transmit the received audio data to the speaker 113 after converting the received audio data into an electrical signal, which is converted into a sound signal for output by the speaker 113; on the other hand, the microphone 114 converts the collected sound signal into an electrical signal, which is received by the audio circuit 109 and converted into audio data, and then the audio data is output to the RF circuit 102 to be sent to, for example, another mobile phone, or the audio data is output to the memory 103 for further processing.

[0056] The communication interface 110 is used to provide various interfaces for external input / output devices (such as keyboard, mouse, external display, external memory, user identification module card, etc.). For example, it is connected to a mouse or a display through a universal serial bus (USB) interface, connected to a user identification module card (SIM) provided by a telecommunications operator through the metal contacts on the card slot of the user identification module card, and communicates with other terminals through the interface of the Wi-Fi device 107, the interface of the near field communication (NFC) device, the interface of the Bluetooth module, etc. The communication interface 110 can be used to couple the above-mentioned external input / output peripheral devices to the processor 101 and the memory 103.

[0057] The mobile phone 100 may also include a power supply device 111 (such as a battery and a power management chip) for supplying power to various components. The battery may be logically connected to the processor 101 via the power management chip, thereby managing functions such as charging, discharging, and power consumption through the power supply device 111.

[0058] although Figure 2 Not shown, the mobile phone 100 may also include a camera (front camera and / or rear camera), a flash, a micro-projection device, a near field communication (NFC) device, etc., which will not be described in detail here.

[0059] Combine the following Figure 3 right Figure 1 The general hardware architecture of the server in is described.

[0060] like Figure 3 As shown, the server 200 includes a processor 201 , a communication line 202 and a communication interface 203 .

[0061] Furthermore, the server 200 may also include a memory 204 . The processor 201 , the memory 204 and the communication interface 203 may be connected via a communication line 202 .

[0062] The processor 201 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 201 may also be any other device having a processing function, such as a circuit, a device, or a software module, without limitation.

[0063] The communication line 202 is used to transmit information between the components included in the server 200.

[0064] The communication interface 203 is used to communicate with other devices or other communication networks. The other communication networks may be Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The communication interface 203 may be a module, a circuit, a transceiver or any device capable of achieving communication.

[0065] The memory 204 is used to store instructions, where the instructions may be computer programs.

[0066] The memory 204 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.

[0067] It should be noted that the memory 204 can exist independently of the processor 201 or can be integrated with the processor 201. The memory 204 can be used to store instructions or program codes or some data, etc. The memory 204 can be located in the server 200 or outside the server 200, without limitation.

[0068] The processor 201 is used to execute the instructions stored in the memory 204 to implement the communication method provided in the following embodiments of the present application. For example, when the server 200 is a terminal or a chip or a system on a chip in the terminal, the processor 201 can execute the instructions stored in the memory 204 to implement the steps performed by the sending end in the following embodiments of the present application.

[0069] In one example, the processor 201 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 in.

[0070] As an optional implementation, the server 200 includes multiple processors, for example, Figure 3 In addition to the processor 201, a processor 207 may also be included.

[0071] As an optional implementation, the server 200 further includes an output device 205 and an input device 206. Exemplarily, the input device 206 is a keyboard, a mouse, a microphone, a joystick, and the like, and the output device 205 is a display screen, a speaker, and the like.

[0072] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.

[0073] like Figure 4As shown, the embodiment of the present application provides a method for generating a recipe, the method comprising the following steps:

[0074] S101. The terminal device obtains a long image of a common recipe.

[0075] The long picture of the common recipe is used to record all the cooking steps in the common recipe. Furthermore, the long picture of the common recipe can also be used to record other information such as the material information of the common recipe.

[0076] For example, Figure 5 A long picture showing a common recipe for honey chicken wings. The long picture contains all the contents of step 1 to step 7 for making honey chicken wings, until the production of honey chicken wings is completed. In addition, Figure 5 As shown, the long picture may also include other information such as the material information for making honey chicken wings.

[0077] As a possible implementation method, the terminal device can directly obtain the long picture of the common recipe.

[0078] For example, the long picture of a common recipe can be obtained by using the long screenshot or scrolling screenshot function of the terminal device when the user reads the cooking steps of the common recipe on the terminal device. Figure 5 A long picture is shown with text information of the cooking steps of a common recipe.

[0079] As another possible implementation, the terminal device may obtain multiple pictures of common recipes, and splice the multiple pictures to generate a long picture of the common recipe.

[0080] Each of the above-mentioned multiple pictures is used to record part of the content of the common recipe.

[0081] It should be understood that the contents recorded in the multiple pictures of the common recipe are the same as those recorded in the long picture, and the multiple pictures of the common recipe are also used to record relevant information of the common recipe, such as cooking steps, material information, etc. Exemplarily, the multiple pictures of the common recipe can be pictures obtained by taking screenshots of the terminal device when the user reads the cooking steps of the common recipe on the terminal device, and the pictures have text information of the cooking steps of the common recipe.

[0082] When a user uses a smart kitchen appliance to cook, the user may not find the dish he intends to make in the existing smart recipes of the smart kitchen appliance because the types of dishes that the smart kitchen appliance can make according to the smart recipes are very limited. In this case, the user can instruct the terminal device to obtain multiple pictures of the common recipes of the dish and convert the common recipes into smart recipes.

[0083] For example, when a user wants to use a smart oven to make honey chicken wings, the user can open the menu interface of the smart oven on the terminal device. Figure 6 As shown in (a) in the figure, the terminal device can display the basic introduction of the smart recipes, such as the recipe names and recipe cover pictures of "braised pork", "cola chicken wings" and "grilled steak", and the user can view all the smart recipes of the smart oven in the menu interface of the smart oven. If the user does not find the smart recipe of honey chicken wings on the menu interface of the smart oven, the user can click the add button 11 to upload the picture of the common recipe of honey chicken wings that he has found.

[0084] like Figure 6 As shown in (b) of FIG. 1 , in response to the user clicking the add button 11, the terminal device may display a common recipe upload interface, which includes a picture add button 12 and a prompt box 13. Figure 6 As shown in (b) in the figure, the prompt box 13 may include "Please upload the complete cooking steps" and "Please upload the pictures in the order of the screenshots". The prompt box 13 is used to prompt the user to upload the pictures of the common recipes as required. If the user is ready to upload multiple pictures of the common recipe of honey chicken wings, the user can click the picture adding button 12. In response to this operation, the terminal device can display an album interface, wherein the album interface may include one or more photos stored in the terminal device. The user can select pictures of the common recipes in the order of the screenshots. Accordingly, the terminal device receives the user's selection operation on the photo, and in response to this operation, Figure 7 As shown in (a) in the figure, the terminal device can display multiple pictures of common recipes from left to right and from top to bottom in the order in which the user selects the pictures.

[0085] In addition, if Figure 7 As shown in (a) of FIG. 1 , the terminal device may also display a selection button 21 and a prompt message “Please check the picture containing the cooking steps” to remind the user to mark the picture containing the cooking steps so that the terminal device can extract the text information of the cooking steps. If the picture uploaded by the user contains the cooking steps of a common recipe for honey-glazed chicken wings, the user can click the selection button 21 corresponding to the picture. Figure 7 As shown in (b), in response to the user clicking the selection button corresponding to Picture 2, Picture 3, and Picture 4, the terminal device can display a selection mark on Picture 2, Picture 3, and Picture 4.

[0086] Please continue to refer to Figure 7In (b), the terminal device may also display a confirmation button 22. After the user has checked picture 2, picture 3, and picture 4 and confirmed that the uploaded pictures are correct, the user may click the confirmation button 22 to complete uploading of multiple pictures of the common recipe for honey chicken wings. Accordingly, in response to the user clicking the confirmation button 22, the terminal device may obtain multiple pictures of the common recipe for honey chicken wings.

[0087] Optionally, after the terminal device obtains multiple images of the common recipe, it can stitch the obtained multiple images in the order in which they are uploaded to generate a long image of the common recipe.

[0088] Alternatively, after the terminal device obtains multiple pictures of a common recipe, it can identify at least one picture with a selected mark, and perform splicing processing on the at least one identified picture to generate a long picture of the common recipe. Based on this, the terminal device can more accurately obtain the cooking steps of the common recipe from the long picture of the common recipe.

[0089] For example, the above Figure 7 Take the pictures 1, 2, 3 and 4 shown in (a) as an example. Figure 8 As shown in (a) in the figure, the terminal device stitches picture 1, picture 2, picture 3 and picture 4 from top to bottom into a complete long picture according to the order in which the user uploads them.

[0090] Or, if Figure 8 As shown in (b) in the figure, the terminal device stitches the pictures 2, 3 and 4 with the selected mark from top to bottom according to the order in which they were uploaded by the user into a complete long picture.

[0091] Optionally, before the terminal device performs stitching processing on the acquired multiple pictures, the terminal device may also perform pixel comparison between two adjacent pictures in the multiple pictures. If there is an overlapping portion between the two adjacent pictures, the terminal device crops the latter picture between the two adjacent pictures to cut off the overlapping portion between the latter picture and the previous picture. Then, the terminal device obtains the cropped pictures and stitches the long pictures.

[0092] For example, Fig. 9 As shown, in the terminal device Fig. 9 During the splicing process of (a), (b), and (c) in Fig. 9 (a) and Fig. 9 (b) in the figure performs pixel comparison. If Fig. 9 If (a) and (b) overlap by 1, the terminal device can Fig. 9 (b) in the figure is cropped, and the overlapping part 1 is cropped to obtain Fig.10 (b2) in .

[0093] Similarly, the terminal device can Fig. 9 (b) and Fig. 9 (c) in the figure performs pixel comparison. If Fig. 9 If (b) and (c) overlap by 2, the terminal device can Fig. 9 (c) in the figure is cropped, and the overlapping part 2 is cropped to obtain Fig.10 (c2) in.

[0094] Then, the terminal device will Fig. 9 (a) Fig.10 (b2) and Fig.10 (c2) in the figure is spliced ​​according to the order in which the pictures are uploaded, and the following is obtained: Figure 5 Long picture of the regular recipe for honey glazed chicken wings shown.

[0095] It should be understood that the long picture of the common recipe of honey chicken wings obtained by the terminal device completely and non-repetitively records the cooking steps of the common recipe of honey chicken wings, which makes it easy for the terminal device to recognize the content on the long picture.

[0096] S102: The terminal device performs text recognition on the long image to obtain text information of all cooking steps in a common recipe.

[0097] As a possible implementation method, after the terminal device obtains the long picture of the common recipe, it can use the optical character recognition (OCR) method to perform text recognition on the obtained long picture to obtain all the text information on the long picture of the common recipe. Furthermore, the terminal device filters all the text information on the long picture of the common recipe to obtain the text information of all the cooking steps in the common recipe.

[0098] Exemplarily, after acquiring all the text information on the long picture of the common recipe, the terminal device can identify keywords related to the steps from all the text information on the long picture of the common recipe. Exemplarily, the keywords related to the steps can be step 1, the first step, etc.

[0099] Assuming that N step-related keywords are identified, for the first N-1 cooking steps, the terminal device can confirm the relevant text information between the keywords related to the i-th step to the keywords related to the i+1-th step in all the text information on the long picture of the ordinary recipe as the text information of the i-th cooking step, where i is any positive integer greater than or equal to 1 and less than or equal to N-1.

[0100] For the Nth step, the terminal device may identify all text information after the keyword related to the Nth step in all text information on the long picture of the common recipe as the text information of the Nth cooking step. Alternatively, the terminal device may identify the text information between the keyword related to the Nth step and the keyword indicating the end in all text information on the long picture of the common recipe as the text information of the Nth cooking step. For example, the keyword indicating the end may be completed, ended, cooking completed, etc., without limitation.

[0101] S103: The terminal device processes the text information of all cooking steps in the common recipe to obtain a cooking program.

[0102] In some embodiments, after the terminal device obtains the text information of the cooking steps, it can classify the text information of the cooking steps to obtain the text information of the cooking steps executed by the smart kitchen appliance and the text information of the cooking steps that require user operation. Thus, the terminal device can generate a cooking program based on the obtained text information of the cooking steps executed by the smart kitchen appliance.

[0103] It should be understood that the generated cooking program is compatible with the smart kitchen appliance, and the smart kitchen appliance can execute the cooking program and automatically cook the dishes.

[0104] In the embodiment of the present application, a cooking program generally includes control programs for multiple cooking stages.

[0105] S104. The terminal device generates an intelligent recipe according to the cooking program.

[0106] In some embodiments, the terminal device directly generates a smart recipe based on the cooking program.

[0107] In other embodiments, since there may be some errors in text recognition that may lead to errors in the obtained cooking program, the terminal device may also receive an editing operation of the cooking program by the user, and edit the cooking program in response to the operation to obtain an edited cooking program. Afterwards, the terminal device generates a smart recipe based on the edited cooking program.

[0108] For example, after generating a cooking program, the terminal device may display a cooking program editing interface, such as Fig.11 As shown in (a) in the figure, the cooking program editing interface includes the cooking program of honey chicken wings generated by the terminal device. In addition, the cooking program editing interface also includes an edit button 41 and a confirmation button 42. If the user finds that the cooking program generated by the terminal device is wrong, the user can click the edit button 41 to modify the text information of the cooking program. After the modification is completed, the user can click the confirmation button 42 to instruct the terminal device to generate a smart recipe.

[0109] Optionally, after generating the recipe, the terminal device may send the recipe to the server automatically or under the instruction of the user, so that the server saves the recipe.

[0110] Optionally, after the recipe is generated, the user can choose to set the recipe to be visible only to himself, or only to friends, or to be visible to all users. The terminal device receives the user's visible permission setting operation, and in response to the operation, the terminal device sends a visible permission setting instruction to the server, and the visible permission setting instruction is used to instruct the server to configure the visible permission of the recipe. For example, the user can set it to be visible only to himself, so that the server will not send the recipe to other users.

[0111] In some embodiments, the terminal device can obtain recipe information other than the cooking steps based on multiple pictures of the acquired ordinary recipes, and add the acquired recipe information to the smart recipe.

[0112] In one example, if a long image of a common recipe is composed of all images uploaded by the user, after the terminal device performs text recognition on the long image and obtains the text information of all cooking steps in the common recipe, the terminal device can obtain text information other than the cooking steps and add it to the smart recipe.

[0113] by Figure 5 Taking the long picture of the ordinary recipe shown as an example, the terminal device obtains the material information of honey chicken wings based on all the text information on the long picture, and adds the material information to the smart recipe.

[0114] In another example, if the long image of a regular recipe is composed of images selected by the user, the terminal device can perform text recognition on the images not selected by the user, obtain the text information in the image, and add it to the smart recipe.

[0115] Optionally, users can also edit recipe cover, recipe name and other information.

[0116] For example, Fig.11 As shown in (b) in the figure, the terminal device can display a recipe editing interface, which includes a recipe cover editing box 41 and a recipe name editing button 42. The recipe cover editing box 41 may include a cover adding option 411. If the user is ready to add a recipe cover, the cover adding option 411 may be clicked. The terminal device receives the user's click operation on the cover adding option 411, and in response to the operation, the terminal device may display an album interface, wherein the album interface may include one or more photos stored in the terminal device. The user may select a photo as a recipe cover. If the user is ready to edit the recipe name, the user may click the recipe name editing button 42 and enter the recipe name.

[0117] Compared with existing smart recipes, which are mostly preset according to the cooking mode of smart kitchen appliances, this solution only needs to obtain the long picture of the ordinary recipe to quickly and easily convert the ordinary recipe into a smart recipe, thereby providing users with a convenient cooking method. In addition, this solution can convert a large number of existing ordinary recipes into smart recipes, which is conducive to the scalability of smart recipes and can make smart recipes more diversified, thereby meeting the needs of users to try different new dishes and improving the user experience.

[0118] As an optional embodiment, Fig.12 As shown, the above step S103 can be specifically implemented as the following steps:

[0119] S1031. The terminal device performs keyword recognition on the text information of all cooking steps in the common recipe, and obtains the recognized keywords.

[0120] The above keywords include first type keywords, second type keywords and third type keywords.

[0121] The first type of keywords are used to reflect the working modes of smart kitchen appliances, such as upper heating, lower heating, upper and lower heating, steaming, and other working modes of smart kitchen appliances, or actions performed by smart kitchen appliances such as baking, frying, stir-frying, cooking, deep-frying, boiling, and stewing.

[0122] The second type of keywords are words that are a combination of numbers and temperature units. The numbers can be in Chinese or Arabic numerals, and the temperature units can be in Chinese or English letters. For example, the identified second type of keywords can be 200 degrees Celsius, 25 degrees Celsius, 180 degrees, etc.

[0123] The third type of keywords are words that are a combination of numbers and time units. The numbers can be in Chinese or Arabic numerals, and the time units can be in Chinese or English letters. For example, the recognized third type of keywords can be 1 hour, 20 minutes, 3 hours, etc.

[0124] Optionally, the terminal device may determine the recognition order of the first type of keywords, the second type of keywords, and the third type of keywords according to the category of the smart kitchen appliance.

[0125] In one example, taking a smart oven as an example, the terminal device can perform second-type keyword recognition on the text information of all cooking steps in a common recipe to obtain the recognized second-type keywords. Then, the terminal device can perform first-type keyword and third-type keyword recognition on the text information of all cooking steps in the common recipe to obtain the first-type keywords and third-type keywords corresponding to the second-type keywords.

[0126] It should be noted that the cooking program of the smart oven consists of first-type keywords, second-type keywords, and third-type keywords. However, a common recipe may include user-operated cooking steps such as "marinate the steak for 30 minutes", which contain third-type keywords. Moreover, a common recipe may also include first-type keywords such as "bake" and "grill", which do not refer to the specific working mode of the smart oven.

[0127] Therefore, in some embodiments, in order to improve recognition accuracy and efficiency, when generating a smart recipe for a smart oven, the terminal device may first recognize the second type of keywords, and then recognize the first type of keywords and the third type of keywords.

[0128] Taking the above-mentioned recipe of honey-glazed chicken wings as an example, the terminal device can first identify three second-type keywords: "160 degrees", "175 degrees" and "225 degrees".

[0129] Furthermore, the terminal device can perform first-type and third-type keyword identification on the text information of all cooking steps in the common recipe of honey chicken wings based on the identified second-type keywords "160 degrees", "175 degrees" and "225 degrees", and obtain first-type and third-type keywords that are close to the occurrence position of the second-type keywords according to the proximity principle.

[0130] The terminal device can finally determine that the keywords identified by the text information of all cooking steps in the common recipe of honey chicken wings are:

[0131] 1. “160 degrees”, “Bake”, “10 minutes”.

[0132] 2. “175 degrees,” “Bake,” “8 minutes.”

[0133] 3. “225 degrees,” “Bake,” “2 minutes.”

[0134] In another example, taking a smart rice cooker as an example, the terminal device can perform first-type keyword recognition on the text information of all cooking steps in a common recipe to obtain the recognized first-type keywords. Then, the terminal device can perform second-type keyword recognition or third-type keyword recognition on the text information of all cooking steps in the common recipe to obtain the second-type keyword or third-type keyword corresponding to the first-type keyword.

[0135] It should be noted that the cooking program of the smart rice cooker can be composed of the first type of keywords and the third type of keywords, such as "stew for 30 minutes", which does not include the second type of keywords. Moreover, taking the porridge cooking mode of the smart rice cooker as an example, the smart rice cooker can automatically stop running when cooking is completed according to the maturity of the ingredients, and there is no need to set the working time.

[0136] S1032. The terminal device generates a cooking program based on the identified keywords.

[0137] Among them, if the first type of keywords recognized by the terminal device in the text information of all cooking steps in the ordinary recipe are "bake", "roast", etc., the terminal device can automatically match the default working mode of the smart oven "upper and lower heating".

[0138] Table 1

[0139] Cooking Stage Cooking Procedure Cooking Stage 1 160℃+up and down heating+10 minutes Cooking Stage 2 175℃+up and down heating+8 minutes Cooking Stage 3 225℃+up and down heating+2 minutes

[0140] In some embodiments, after generating a cooking program, the terminal device may determine reminder information corresponding to each cooking stage of the cooking program.

[0141] Specifically, a cooking program generally includes control programs for multiple cooking stages. The terminal device can extract reminder information corresponding to at least one of the multiple cooking stages from the text information of all cooking steps in the common recipe. Furthermore, the terminal device generates a smart recipe based on the cooking program and the reminder information corresponding to at least one of the multiple cooking stages.

[0142] For example, the text information between the keywords of two adjacent cooking stages can be determined according to the positions of the keywords of each cooking stage of the cooking program in the text information of all cooking steps of honey chicken wings, and used as the reminder information corresponding to the next cooking stage between the two adjacent cooking stages. It should be understood that all the text information before the keyword of the first cooking stage can be used as the reminder information corresponding to the first cooking stage.

[0143] Based on the above embodiment, the terminal device can perform keyword recognition on the text information of all cooking steps in a common recipe, so as to quickly obtain the text information of the cooking program, and then quickly and conveniently generate a cooking program for the smart kitchen appliance.

[0144] It should be noted that the above Figure 4 and Fig.12 The recipe generation method provided is also applicable to the server. Taking step S101 as an example, after the terminal device obtains multiple pictures of the common recipe, it can send the obtained multiple pictures of the common recipe to the server. Correspondingly, the server can splice the received multiple pictures of the common recipe to obtain a long picture of the common recipe.

[0145] As an optional embodiment, Fig.13 As shown, the embodiment of the present application also provides a method for executing a smart recipe, the method comprising the following steps:

[0146] S201. The smart kitchen appliance receives an instruction to execute a smart recipe.

[0147] For example, the user may input an operation on the terminal device to start executing the smart recipe, and in response to the operation, the terminal device sends an instruction to the smart kitchen appliance to instruct the execution of the smart recipe. Accordingly, the smart kitchen appliance receives the execution instruction sent by the terminal device.

[0148] S202: In response to an instruction to execute a smart recipe, the smart kitchen appliance executes a cooking program in the smart recipe.

[0149] After receiving the instruction to execute the smart recipe sent by the terminal device, the smart kitchen appliance obtains the smart recipe corresponding to the instruction in response to the instruction. The smart recipe includes a cooking program and reminder information corresponding to each cooking stage of the cooking program.

[0150] Furthermore, the smart kitchen appliance executes the cooking program in the smart recipe, and when the smart kitchen appliance reaches any cooking stage of the cooking program, it broadcasts reminder information corresponding to the cooking stage.

[0151] A cooking program generally includes control programs for multiple cooking stages, and during the cooking process of a smart recipe, the user also needs to perform some auxiliary operations before the smart kitchen appliance executes the control programs for certain cooking stages. In order to prevent conflicts between the user's auxiliary operations and the smart kitchen appliance's execution of the control programs for the cooking stages, the optional Fig.14 As shown, step S202 can be specifically implemented as follows:

[0152] S2021. The smart kitchen appliance determines whether there is target reminder information in the smart recipe that needs to be broadcast before executing the control program of the target cooking stage.

[0153] Since the reminder information does not need to be broadcast before executing each cooking stage, the smart kitchen appliance can first determine whether the cooking stage has corresponding reminder information before executing the control program of any cooking stage. If so, execute S2022-S2024; if not, directly execute S2024.

[0154] S2022. Smart kitchen appliances play target reminder information.

[0155] Taking the above-mentioned cooking program of honey chicken wings as an example, before executing the program of cooking stage 1 "160℃+upper and lower heating+10 minutes", the smart kitchen appliance can broadcast the text information corresponding to cooking stage 1.

[0156] S2023. The smart kitchen appliance receives a confirmation instruction from the user.

[0157] Exemplarily, after the smart kitchen appliance has finished broadcasting the target reminder information, in order to ensure that the user has completed the cooking steps in the reminder information that require user operation, the smart kitchen appliance can broadcast a similar voice message such as "Do you want to continue cooking?", or send a first instruction to the terminal device. The first instruction is used to instruct the terminal device to display a similar text message such as "Do you want to continue cooking" on the screen to ask the user whether to immediately execute the control program of the target cooking stage.

[0158] Furthermore, the smart kitchen appliance can directly receive a confirmation instruction input by the user to continue cooking, and execute step S2024 according to the confirmation instruction.

[0159] Alternatively, the terminal device may receive a confirmation instruction for continuing cooking input by the user, and send the confirmation instruction to the smart kitchen appliance. Accordingly, the smart kitchen appliance receives the confirmation instruction from the user and starts to execute the following step S2024.

[0160] Optionally, after the smart kitchen appliance asks the user whether to immediately execute the control program of the target cooking stage, if no confirmation instruction from the user is received, the smart kitchen appliance may ask the user again after a preset time whether to immediately execute the control program of the target cooking stage.

[0161] S2024, the smart kitchen appliance executes the control program of the target cooking stage.

[0162] Further, steps S2021-S2024 are repeated until the control procedures of all cooking stages are completed.

[0163] Based on the above embodiment, the smart kitchen appliance can broadcast relevant reminder information during the automatic cooking process, so that the user can perform relevant auxiliary cooking operations in time to ensure that the cooking equipment can cook dishes that meet expectations based on the recipe.

[0164] The above mainly introduces the solution provided by the present application from the perspective of the method. It is understandable that in order to realize the above functions, the terminal device and the server include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0165] The present application can divide the terminal device and the server into functional modules according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0166] Fig.15 A schematic diagram showing the composition of a recipe generation device provided in an embodiment of the present application is shown. Fig.15 As shown, the recipe generating device 1000 includes a transceiver unit 1001 , a processing unit 1002 and a recognition unit 1003 .

[0167] The transceiver unit 1001 is used to obtain a long picture of a common recipe, where the long picture is used to record all cooking steps in the common recipe;

[0168] The recognition unit 1003 is used to perform text recognition on the long image to obtain text information of all cooking steps in the common recipe;

[0169] The processing unit 1002 is used to process the text information of all cooking steps in the common recipe to obtain a cooking procedure;

[0170] The processing unit 1002 is also used to generate intelligent recipes according to the cooking program.

[0171] In some embodiments, the transceiver unit 1001 is also used to obtain multiple pictures of a common recipe captured by a user, each of the multiple pictures is used to record part of the content of the common recipe; the processing unit 1002 is also used to splice the multiple pictures to generate a long picture.

[0172] In some embodiments, the recognition unit 1002 is specifically used to perform keyword recognition on the text information of all cooking steps in a common recipe to obtain the recognized keywords; the processing unit 1002 is specifically used to generate a cooking program according to the recognized keywords.

[0173] In some embodiments, the keywords include first type keywords, second type keywords and third type keywords. The first type keywords are used to reflect the working mode of smart kitchen appliances, the second type keywords are combinations of numbers and temperature units, and the third type keywords are combinations of numbers and time units.

[0174] In some embodiments, the processing unit 1002 is specifically used to: edit the cooking program in response to the user's editing operation to obtain the edited cooking program; and generate a smart recipe according to the edited cooking program.

[0175] In some embodiments, the cooking program includes control programs for multiple cooking stages, and the processing unit 1002 is also used to extract reminder information corresponding to at least one of the multiple cooking stages from the text information of all cooking steps in the ordinary recipe; and generate an intelligent recipe based on the cooking program and the reminder information corresponding to at least one of the multiple cooking stages.

[0176] Fig.16 A schematic diagram showing the composition of a recipe execution device provided in an embodiment of the present application is shown. Fig.16 As shown, the recipe execution device 2000 includes a transceiver unit 2001 , a processing unit 2002 and a broadcast unit 1003 .

[0177] The transceiver unit 2001 is used to receive an instruction to execute a smart recipe, where the smart recipe includes a cooking program, and the cooking program includes control programs for multiple cooking stages.

[0178] During the execution of the smart recipe, the broadcasting unit 1003 is used to play the target reminder information when there is target reminder information in the smart recipe that needs to be broadcast before the control program of the target cooking stage currently to be executed, and the target cooking stage is any one of multiple cooking stages.

[0179] The transceiver unit 2001 is further used to receive a confirmation instruction from a user, where the confirmation instruction from the user is used to instruct the control program to execute the target cooking stage.

[0180] The processing unit 2002 is used to execute the control program of the target cooking stage in response to the user's confirmation instruction.

[0181] Fig.15 or Fig.16 The units in the system may also be referred to as modules. For example, a processing unit may be referred to as a processing module. Fig.15 or Fig.16 In the illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the transceiver unit may also be called a communication unit.

[0182] Fig.15 or Fig.16If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0183] An embodiment of the present invention further provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes any one of the methods provided in the above embodiments.

[0184] An embodiment of the present invention further provides a computer program product, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement any one of the methods provided in the above embodiments.

[0185] An embodiment of the present application also provides a chip, including: a processing circuit and a transceiver pin, wherein the processing circuit is coupled to a memory via the transceiver pin, and when the processing circuit executes a computer program or a computer execution instruction in the memory, any one of the methods provided in the above embodiments is executed.

[0186] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented using software, the functions may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium may be any available medium that a general or special-purpose computer can access.

[0187] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer-executable instructions. When the computer-executable instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer-executable instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0188] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0189] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0190] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for generating a recipe, characterized in that: The method comprises: Obtaining a long picture of a common recipe, wherein the long picture is used to record all cooking steps in the common recipe; Performing text recognition on the long image to obtain text information of all cooking steps in the common recipe; Perform keyword recognition on the text information of all cooking steps in the common recipe to obtain recognized keywords; the keywords include first-type keywords, second-type keywords and third-type keywords, the first-type keywords are used to reflect the working mode of the smart kitchen appliance, the second-type keywords are combinations of numbers and temperature units, and the third-type keywords are combinations of numbers and time units; generating a cooking program according to the identified keywords; Generate an intelligent recipe according to the cooking program; The step of performing keyword recognition on the text information of all cooking steps in the common recipe to obtain the recognized keywords includes: Determining the recognition order of the first type of keywords, the second type of keywords, and the third type of keywords according to the category of the smart kitchen appliance, wherein the category of the smart kitchen appliance at least includes: an oven and a rice cooker; In the case where the category of the smart kitchen appliance is an oven, the recognition order is: performing the second-type keyword recognition on the text information of all cooking steps in the common recipe to obtain the recognized second-type keywords; performing the first-type keyword and the third-type keyword recognition on the text information of all cooking steps in the common recipe to obtain the first-type keywords and the third-type keywords corresponding to the recognized second-type keywords; When the category of the smart kitchen appliance is a rice cooker, the recognition order is: performing the first-type keyword recognition on the text information of all cooking steps in the ordinary recipe to obtain the recognized first-type keywords; performing the second-type keyword or the third-type keyword recognition on the text information of all cooking steps in the ordinary recipe to obtain the second-type keyword or the third-type keyword corresponding to the recognized first-type keyword.

2. The method according to claim 1, characterized in that The method of obtaining a long picture of a common recipe includes: Acquire multiple pictures of the common recipe, each of the multiple pictures is used to record part of the content of the common recipe; The multiple pictures are spliced ​​together to generate the long picture.

3. The method according to claim 1 or 2, characterized in that: The step of generating a smart recipe according to the cooking program comprises: In response to an editing operation of a user, editing the cooking program to obtain an edited cooking program; The smart recipe is generated according to the edited cooking program.

4. The method according to claim 1, characterized in that: The cooking program includes a control program for multiple cooking stages; the method further includes: extracting reminder information corresponding to at least one cooking stage among the multiple cooking stages from text information of all cooking steps in the common recipe; The step of generating a smart recipe according to the cooking program comprises: The smart recipe is generated according to the cooking program and reminder information corresponding to at least one cooking stage in the multiple cooking stages.

5. A recipe generation device, characterized in that: The device comprises: A transceiver unit, used to obtain a long picture of a common recipe, wherein the long picture is used to record all cooking steps in the common recipe; A recognition unit, used for performing text recognition on the long image to obtain text information of all cooking steps in the common recipe; a processing unit, configured to perform keyword recognition on the text information of all cooking steps in the common recipe, and obtain recognized keywords; the keywords include first-type keywords, second-type keywords, and third-type keywords, the first-type keywords are used to reflect the working mode of the smart kitchen appliance, the second-type keywords are combinations of numbers and temperature units, and the third-type keywords are combinations of numbers and time units; generating a cooking program according to the identified keywords; The processing unit is further used to generate an intelligent recipe according to the cooking program; The processing unit is specifically used to determine the recognition order of the first type of keywords, the second type of keywords, and the third type of keywords according to the category of the smart kitchen appliance, and the category of the smart kitchen appliance at least includes: oven and rice cooker; In the case where the category of the smart kitchen appliance is an oven, the recognition order is: performing the second-type keyword recognition on the text information of all cooking steps in the common recipe to obtain the recognized second-type keywords; performing the first-type keyword and the third-type keyword recognition on the text information of all cooking steps in the common recipe to obtain the first-type keywords and the third-type keywords corresponding to the recognized second-type keywords; When the category of the smart kitchen appliance is a rice cooker, the recognition order is: performing the first-type keyword recognition on the text information of all cooking steps in the ordinary recipe to obtain the recognized first-type keywords; performing the second-type keyword or the third-type keyword recognition on the text information of all cooking steps in the ordinary recipe to obtain the second-type keyword or the third-type keyword corresponding to the recognized first-type keyword.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 4.