Information display method and device, electronic equipment and storage medium
By calling artificial intelligence to generate content models on electronic devices, automatically generating and displaying food-related information, the problem of users needing to manually enter keyword information is solved, and the convenience of information display is improved.
Patent Information
- Application Number
- CN202411874856.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-04-11
AI Technical Summary
When displaying food-related information on electronic devices in the prior art, users need to manually input keyword information, resulting in inconvenient operation.
When shooting images of food are displayed on the preview interface, the interface of the artificial intelligence generating content model is called, functional controls are displayed, and information related to food is automatically generated and displayed in response to user input, such as evaluation, calories, food recommendations and production steps.
Without the need for users to manually enter keyword information, the system can automatically generate relevant information based on food images, reduce user operation steps and improve the convenience of information display.
Smart Images

Figure CN119806706A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to an information display method, device, electronic device and storage medium. Background Art
[0002] In recent years, AI technology has made significant progress in the application of electronic devices, especially in meeting users' needs for food. For example, users can use AI-generated content technology to obtain information such as reviews, calories, and cooking methods of a certain food and display it on electronic devices. However, currently, when displaying food-related information on electronic devices based on AI-generated content technology, users often need to manually enter keyword information and required content in the corresponding application, which makes the information display operation inconvenient. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide an information display method, device, electronic device and storage medium, which can solve the problem of poor convenience in information display operation.
[0004] In a first aspect, an embodiment of the present application provides an information display method, the method comprising:
[0005] When the first image is displayed on the shooting preview interface and the first image includes food, an interface for generating a content model through artificial intelligence is called to display a function control;
[0006] Receiving a first input to a functional control;
[0007] In response to the first input, information corresponding to the function control is displayed, where the information is generated by an artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following:
[0008] Comments on food;
[0009] Calorie information corresponding to food;
[0010] Food recommendation information corresponding to the food;
[0011] Steps in preparing food.
[0012] In a second aspect, an embodiment of the present application provides an information display device, the device comprising:
[0013] A display module, configured to display the first image on the shooting preview interface, and when the first image includes food, call an interface for generating a content model through artificial intelligence to display a function control;
[0014] A receiving module, configured to receive a first input to a function control;
[0015] The display module is further configured to display information corresponding to the function control in response to the first input, where the information is generated by an artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following:
[0016] Comments on food;
[0017] Calorie information corresponding to food;
[0018] Food recommendation information corresponding to the food;
[0019] Steps in preparing food.
[0020] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0022] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0023] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0024] In an embodiment of the present application, when a first image including food is displayed on the shooting preview interface, the interface of the artificial intelligence generated content model can be called to display the function control, and in response to the user's first input to the function control, the artificial intelligence generated content model can generate and display the information corresponding to the function control, such as the evaluation of the food, the calorie information corresponding to the food, the food's corresponding gourmet recommendation information, and the food's production steps. In this way, the user does not need to manually input keyword information, and the artificial intelligence generated content model can be automatically called to automatically generate and display relevant information based on the food in the first image, which reduces the user's operation steps and improves the convenience of information display. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flowchart of an information display method provided by an embodiment of the present application;
[0026] Figure 2 This is one of the interface schematic diagrams of the information display method provided in the embodiment of the present application;
[0027] Figure 3 This is the second interface schematic diagram of the information display method provided in the embodiment of the present application;
[0028] Figure 4 This is the third interface schematic diagram of the information display method provided in the embodiment of the present application;
[0029] Figure 5 This is the fourth interface schematic diagram of the information display method provided in the embodiment of the present application;
[0030] Figure 6 This is the fifth interface diagram of the information display method provided in the embodiment of the present application;
[0031] Figure 7 This is the sixth interface diagram of the information display method provided in the embodiment of the present application;
[0032] Figure 8 This is the seventh interface schematic diagram of the information display method provided in the embodiment of the present application;
[0033] Fig. 9 is a structural schematic diagram of an information display device provided in an embodiment of the present application;
[0034] Fig.10 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0035] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0037] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0038] The information display method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0039] Figure 1 : is a flow chart of an information display method provided in an embodiment of the present application. The information display method may include:
[0040] Step 101, when a first image is displayed on a shooting preview interface and the first image includes food, an interface for generating a content model using artificial intelligence is called to display a function control.
[0041] In step 101, when the user wants to generate food-related evaluation, calorie information, recommendation information or production steps and other related information through artificial intelligence generated content (AIGC) technology, the food can be photographed through the camera module of the electronic device. When the shooting preview interface displays the first image of the food, the interface of the AIGC model can be automatically called, and the function controls corresponding to the above information can be displayed in the interactive interface of the AIGC model. For example, the "whether to generate evaluation" control, "whether to display calorie control", "food ranking recommendation" control and "production steps" control can be displayed.
[0042] In some examples, it may be that in a specific mode, when the first image is displayed on the shooting preview interface, the target detection algorithm is used to retrieve whether the first image includes food, and the function control is displayed if food is included. For example, when the electronic device turns on the "food mode", after the photographed food enters the shooting preview interface, the camera module will return the detection result of the food according to the artificial intelligence (AI) scene detection, and display the function control. If the electronic device does not turn on the "food mode", the normal shooting process is executed, that is, when the user's shooting operation is received, the image displayed on the shooting preview interface is obtained and stored in the album.
[0043] In other examples, a first image may be selected from images stored in an album and detected. If the first image includes food, a detection result of the food is returned and a function control is displayed.
[0044] Step 102: Receive a first input to a function control.
[0045] In step 102, a first input of a user to a function control may be received. The first input may be: a click input of a user to any function control, or a voice command input by a user, or a specific gesture input by a user, which may be determined according to actual usage requirements, and the embodiment of the present application does not limit this. The specific gesture in the embodiment of the present application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application may be a single-click input, a double-click input, or any number of click inputs, etc., and may also be a long-press input or a short-press input.
[0046] Step 103: In response to the first input, information corresponding to the function control is displayed, where the information is generated by an artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following:
[0047] Comments on food;
[0048] Calorie information corresponding to food;
[0049] Food recommendation information corresponding to the food;
[0050] Steps in preparing food.
[0051] In step 103, in response to a first input from the user, information corresponding to a functional control associated with the first input may be generated through the AIGC technology and displayed.
[0052] For example, Figure 2 As shown, in some scenarios, the user needs to evaluate the dish after eating. At this time, the dish can be photographed. When the image of the dish is displayed on the shooting preview interface, the detection result of the dish can be returned, and the "whether to generate evaluation" control 201 can be displayed. If the user slides the "whether to generate evaluation" control to the right, the evaluation of the food can be generated and displayed. At this time, the user can copy and paste the generated evaluation according to the needs. If the user slides the "whether to generate evaluation" control to the left, it can be considered that the user does not need to generate an evaluation, and the normal shooting process can be performed at this time.
[0053] For example, Figure 4 As shown, if the user swipes right on the "Show Calories" control 401, the calorie information corresponding to the food is generated and displayed. If the user clicks on the "Food Ranking Recommendation" control, the food recommendation information corresponding to the food is generated and displayed. If the user clicks on the "Production Steps" control, the production steps of the food are generated and displayed.
[0054] It is understandable that the food recommendation information corresponding to the food can be displayed by only displaying the food recommendation information that best meets the needs, such as displaying the food recommendation information that is closest, or displaying the food recommendation information with the best reviews, or displaying the food recommendation information with the lowest price, or displaying the food recommendation information with the highest comprehensive score by comprehensively considering factors such as distance, reviews, and prices. Displaying the food recommendation information corresponding to the food can also be displaying multiple food recommendation information that meet the needs, and sorting the multiple food recommendation information according to at least one of the distance, reviews, and prices mentioned above.
[0055] It is also understood that the display of food preparation steps can display a type of food preparation steps that best meets the user's needs according to the user's settings, selections or preferences. For example, according to the user's settings, the most authentic food preparation steps can be displayed. For example, according to the user's native place, the food preparation steps corresponding to the user's taste can be displayed. Displaying food preparation steps can also display the preparation steps of all different types of food, and the preparation steps of all different types of food can be sorted according to the user's preferences.
[0056] In some examples, the embodiments of the present application can use an application programming interface (API) and a software development kit (SDK) so that the interface of the artificial intelligence content generation model can be integrated into various applications that generate information corresponding to the above-mentioned functional controls. In this way, the user can implement the functions corresponding to the application by calling the interface of the AIGC model. In other words, the AIGC model itself can exist in the form of an application, and the user can use the information generation function without leaving the current environment, and can implement all related functions in a unified interface.
[0057] For example, the function controls corresponding to the application-related functions can be directly displayed on the shooting preview interface of the electronic device, so that the user can directly implement the relevant functions of the application by inputting these function controls. In this way, the user no longer needs to go to the application interface of the AIGC model to manually input information, and then view the generated and displayed information in the application interface.
[0058] In an embodiment of the present application, when a first image including food is displayed on the shooting preview interface, a function control can be displayed, and in response to a first input of the user to the function control, information corresponding to the function control can be displayed, such as an evaluation of the food, calorie information corresponding to the food, gourmet recommendation information corresponding to the food, and food preparation steps. In this way, the user does not need to manually input keyword information, and relevant information can be automatically generated and displayed based on the food in the first image, which reduces the user's operation steps and improves the convenience of information display.
[0059] In some embodiments, when the information is a review of food, in response to the first input, displaying information corresponding to the function control includes:
[0060] In response to the first input, N evaluation level controls are displayed, where N is an integer greater than 1;
[0061] Receiving a second input to a first evaluation grade control, where the first evaluation grade control is any one of the N evaluation grade controls;
[0062] In response to the second input, an evaluation of the food is generated and displayed according to the evaluation level corresponding to the first evaluation level control through an artificial intelligence generated content model.
[0063] In this embodiment, if Figure 2 As shown, when receiving a first input of the user sliding right on the "generate evaluation" control 201, multiple evaluation level controls may be displayed in response to the first input, for example, Figure 3 As shown, three evaluation level controls 301 of “good”, “medium” and “poor” may be displayed.
[0064] A second input from a user to any of the first evaluation level controls can be received, wherein the second input can be: a click input from a user to the first evaluation level control, or a voice command input by a user, or a specific gesture input by a user, which can be determined based on actual usage requirements, and the embodiments of the present application do not limit this. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long-press input or a short-press input.
[0065] In response to the second input, an evaluation of the food can be generated and displayed by the artificial intelligence content model according to the evaluation level corresponding to the first evaluation level control. For example, if the user clicks the "good" control, the AIGC technology can be used to generate and display a good evaluation of the food. If the user clicks the "medium" control, the AIGC technology can be used to generate and display a medium evaluation of the food. If the user clicks the "bad" control, the AIGC technology can be used to generate and display a bad evaluation of the food.
[0066] In this way, multiple evaluation level controls of different levels can be displayed for user selection, and based on different selections of the user, evaluations of different evaluation levels of food can be generated and displayed, thereby improving the convenience and flexibility of information display.
[0067] In some embodiments, when the information is a review of food, in response to the first input, information corresponding to the function control is displayed, including:
[0068] In response to the first input, displaying prompt information, the prompt information is used to instruct to shoot the first image to obtain the second image;
[0069] When the second image is captured, the second image is input into the artificial intelligence generated content model, and an evaluation of the food is generated and displayed through the artificial intelligence generated content model. The evaluation includes the second image and text information related to the image content of the second image.
[0070] In this embodiment, it is understandable that in a dining evaluation scenario, it may be necessary to publish a review with pictures, that is, the review not only needs to include a text description of the dish, but also needs to include an image of the dish, so that other users can better understand the dish based on the published review.
[0071] Based on this, in response to the first input, a prompt message can be displayed, and the prompt message can prompt the user to take an image of the dish at a suitable angle. The user can take a second image for publishing a review based on the prompt message.
[0072] When the second image is captured, the second image can be used as input to the AIGC model, and the AIGC model can generate and display text information including the second image and the image content of the second image as an evaluation of the dish.
[0073] In some examples, when the second image is captured, three evaluation level controls of "good", "medium", and "poor" may be displayed, and based on the user's selection of the evaluation level controls, the corresponding evaluation levels may be generated in combination with the second image and displayed.
[0074] In this way, a second image can be captured based on the prompt information, and a graphic evaluation can be generated and displayed based on the second image, so that the displayed evaluation of food can better meet the diverse needs of users and improve the intelligence of the display.
[0075] In some embodiments, when the information is a review of food, after displaying the information corresponding to the function control in response to the first input, the method further includes:
[0076] receiving a third input associated with a change request indicating a change to be made to the evaluation;
[0077] In response to the third input, the evaluation of the food is regenerated and displayed according to the modification requirement.
[0078] In this embodiment, for the displayed evaluation of food, if it can meet the user's needs, the user can directly copy and paste it to the evaluation publishing platform for publishing. If it cannot meet the user's needs, a third input from the user indicating to change the evaluation can be received at this time. For example, the change requirement can be entered in the input box displayed in the interactive interface of the AIGC model, such as "increase the number of evaluation words to XX words" or "add sour taste description".
[0079] In response to the third input, the evaluation of the food may be regenerated and displayed according to the change requirement.
[0080] In this way, if the user is not satisfied with the evaluation of the food, he can input the change requirements and regenerate the evaluation. This can ensure that the evaluation of the food finally displayed can better meet the user's needs and improve the flexibility of information display.
[0081] In some embodiments, when the function control is a first control and the information corresponding to the first control is calorie information corresponding to food, in response to the first input, displaying the information corresponding to the function control includes:
[0082] In response to the first input, generating calorie information corresponding to the food through an artificial intelligence generated content model;
[0083] Displaying the calorie information corresponding to the food and displaying the second control;
[0084] receiving a fourth input to the second control;
[0085] In response to the fourth input, information corresponding to the second control is displayed, where the information corresponding to the second control includes food recommendation information corresponding to the food, or steps for making the food.
[0086] In this embodiment, if Figure 4 and Figure 5As shown, the first control may be a "whether to display calories" control 401, which may receive a first input from a user sliding right on the "whether to display calories" control 401, and in response to the first input, may generate calorie information corresponding to the food through the AIGC model, and display the calorie information 501 and the second control 502 corresponding to the food.
[0087] In some examples, the second control may include a "food ranking recommendation" control and a "production steps" control. In this way, when the user receives the fourth input to the "food ranking recommendation" control, the food recommendation information corresponding to the food can be generated and displayed through the AIGC model. When the user receives the fourth input to the "production steps" control, the production steps of the food can also be generated and displayed through the AIGC model.
[0088] In other examples, the second control 502 may be a “+” control, which is used to represent more functional controls. Figure 5 and Figure 6 As shown, the user can receive input from clicking the second control 502, and in response to the input, display the "food ranking recommendation" control 601 and the "production steps" control 602. The user can select the "food ranking recommendation" control or the "production steps" control according to the needs, so that the electronic device can display the corresponding food recommendation information and production steps.
[0089] It is understandable that, in pursuit of health or body shape, users may need to know the calorie information of food before deciding whether to enjoy the food. Based on this demand, in this embodiment, a first control related to calorie information can be displayed first, and a second control related to food recommendation information and / or preparation steps can be displayed while displaying the calorie information, so that relevant information can be displayed based on the user's selection, thus realizing the intelligent scene display of information and better meeting the intelligent needs of users.
[0090] In some embodiments, when the information is gourmet recommendation information corresponding to food, in response to the first input, information corresponding to the function control is displayed, including:
[0091] Generate a content model through artificial intelligence to obtain M food recommendation information related to food, where M is a positive integer;
[0092] According to the preset sorting rules, sort the M food recommendation information to obtain a food ranking list;
[0093] Displays the food rankings.
[0094] In this embodiment, if Figure 6As shown, a user input to the "food ranking recommendation" control 601 can be received, and in response to the input, at least one food recommendation information associated with the food can be obtained through the AIGC model. For example, if the food is detected to be dish A, all restaurant information including the dish A within a preset range nearby can be determined as food recommendation information associated with the food.
[0095] The food recommendation information may be sorted and displayed according to a preset sorting rule. For example, the preset sorting rule may be determined based on a scoring factor, and the scoring factor may include at least one of distance, user evaluation, and price.
[0096] For example, taking the distance as the scoring factor, M food recommendation information can be sorted according to the rule of distance from near to far to obtain a food ranking list. Taking the user evaluation as the scoring factor, M food recommendation information can be sorted according to the rule of user evaluation from high to low to obtain a food ranking list. Taking the price as the scoring factor, M food recommendation information can be sorted according to the rule of price from low to high to obtain a food ranking list. Taking the distance, user evaluation and price as the scoring factors, the comprehensive score can be calculated according to the corresponding weight of each scoring factor, and then the M food recommendation information can be sorted according to the rule of comprehensive score from large to small to obtain a food ranking list.
[0097] In this way, the food recommendation information can be sorted and displayed to users after obtaining the food rankings, so that users can choose their favorite restaurants to dine according to the food rankings, thereby improving the intelligence and flexibility of information display, and further improving the success rate of users successfully selecting food recommendation information that meets their needs.
[0098] In some embodiments, when the information is to display the steps of making food, in response to the first input, information corresponding to the function control is displayed, including:
[0099] Displaying at least one third control, each third control being associated with a type of preparation steps of food;
[0100] Receiving a fifth input to a fourth control, where the fourth control is any one of the at least one third control;
[0101] In response to a fifth input, preparation steps for food of a target type are displayed, the target type being associated with a fourth control.
[0102] In this embodiment, if Figure 6 and Figure 7As shown, a user input to the "production steps" control 602 may be received, and in response to the input, at least one third control 701 may be displayed, each third control 701 being associated with a type of food production steps. For example, taking braised pork as an example, the third controls 701 may include a "Northeast cooking method" control, a "Suzhou and Hangzhou cooking method" control, and a "home cooking method" control, etc.
[0103] A fifth input from the user to any fourth control in at least one third control 701 may be received, and in response to the fifth input, preparation steps for a target type of food associated with the fourth control may be displayed.
[0104] For example, Figure 8 As shown, the user may receive an input of clicking the "home cooking" control, and the "home cooking" control may be determined as the fourth control. In response to the input, the braised pork production step 801 associated with the "home cooking" may be displayed.
[0105] In some examples, the preparation steps of the target type of food are displayed, and a "more" control may also be displayed to receive user operations on the "more" control and switch to the preparation steps of other methods of cooking the food.
[0106] In this way, controls corresponding to multiple types of food preparation steps can be displayed for user selection, and based on different user selections, preparation steps for different methods of making the food can be generated and displayed, thereby improving the convenience and flexibility of information display.
[0107] The information display method provided in the embodiment of the present application can be executed by an information display device. In the embodiment of the present application, an information display device executing the information display method is taken as an example to illustrate the information display device provided in the embodiment of the present application.
[0108] like Fig. 9 As shown, an embodiment of the present application provides an information display device 900, which may include:
[0109] Display module 901, used to display the first image in the shooting preview interface, and when the first image includes food, call the interface of the artificial intelligence generated content model to display the function control;
[0110] A receiving module 902, configured to receive a first input to a function control;
[0111] The display module 901 is further used to display information corresponding to the function control in response to the first input, where the information is generated by an artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following:
[0112] Comments on food;
[0113] Calorie information corresponding to food;
[0114] Food recommendation information corresponding to the food;
[0115] Steps in preparing food.
[0116] In an embodiment of the present application, when a first image including food is displayed on the shooting preview interface, a function control can be displayed, and in response to a first input of the user to the function control, information corresponding to the function control can be displayed, such as an evaluation of the food, calorie information corresponding to the food, gourmet recommendation information corresponding to the food, and food preparation steps. In this way, the user does not need to manually input keyword information, and relevant information can be automatically generated and displayed based on the food in the first image, which reduces the user's operation steps and improves the convenience of information display.
[0117] In some embodiments, when the information is a review of food, the display module 901 is further configured to:
[0118] In response to the first input, N evaluation level controls are displayed, where N is an integer greater than 1;
[0119] The receiving module 902 is further used to: receive a second input to a first evaluation level control, where the first evaluation level control is any one of the N evaluation level controls;
[0120] The display module 901 is also used to: in response to the second input, generate and display an evaluation of the food through an artificial intelligence content model according to the evaluation level corresponding to the first evaluation level control.
[0121] In this way, multiple evaluation level controls of different levels can be displayed for user selection, and based on different selections of the user, evaluations of different evaluation levels of food can be generated and displayed, thereby improving the convenience and flexibility of information display.
[0122] In some embodiments, when the information is an evaluation of food, the display module 901 is further used to:
[0123] In response to the first input, displaying prompt information, the prompt information is used to instruct to shoot the first image to obtain the second image;
[0124] The device also includes:
[0125] a processing module, configured to input the second image into the artificial intelligence generated content model when the second image is captured, and generate a review of the food through the artificial intelligence generated content model, wherein the review includes the second image and text information related to the image content of the second image;
[0126] The display module 901 is also used to display the evaluation of the food.
[0127] In this way, a second image can be captured based on the prompt information, and a graphic evaluation can be generated and displayed based on the second image, so that the displayed evaluation of food can better meet the diverse needs of users and improve the intelligence of the display.
[0128] In some embodiments, when the information is an evaluation of food, the receiving module 902 is further configured to:
[0129] After displaying information corresponding to the functional control in response to the first input, receiving a third input associated with a change request indicating a change to the evaluation;
[0130] The device also includes:
[0131] a processing module, for regenerating the evaluation of the food according to the change requirement in response to the third input;
[0132] The display module 901 is further used to display the regenerated evaluation of the food.
[0133] In this way, if the user is not satisfied with the evaluation of the food, he can input the change requirements and regenerate the evaluation. This can ensure that the evaluation of the food finally displayed can better meet the user's needs and improve the flexibility of information display.
[0134] In some embodiments, when the functional control is a first control and the information corresponding to the first control is calorie information corresponding to food, the processing module is further used to:
[0135] In response to the first input, generating calorie information corresponding to the food through an artificial intelligence generated content model;
[0136] The display module 901 is also used to display the calorie information corresponding to the food and display the second control;
[0137] The receiving module 902 is further configured to receive a fourth input to the second control;
[0138] The display module 901 is further used to display information corresponding to the second control in response to the fourth input, where the information corresponding to the second control includes food recommendation information corresponding to the food, or steps for making the food.
[0139] In this embodiment, a first control related to calorie information can be displayed first, and a second control related to food recommendation information and / or production steps can be displayed simultaneously with the calorie information, so that relevant information can be displayed based on the user's selection. In this way, the intelligent scene of information display is realized, which better meets the user's intelligent needs.
[0140] In some embodiments, when the information is food recommendation information corresponding to food, the device further includes a processing module for:
[0141] Generate a content model through artificial intelligence to obtain M food recommendation information related to food, where M is a positive integer;
[0142] According to the preset sorting rules, sort the M food recommendation information to obtain a food ranking list;
[0143] The display module 901 is also used to display the food ranking list.
[0144] In this way, the food recommendation information can be sorted and displayed to users after obtaining the food rankings, so that users can choose their favorite restaurants to dine according to the food rankings, thereby improving the intelligence and flexibility of information display, and further improving the success rate of users successfully selecting food recommendation information that meets their needs.
[0145] In some embodiments, when the information is food preparation steps, the display module 901 is further used to:
[0146] Displaying at least one third control, each third control being associated with a type of preparation steps of food;
[0147] The receiving module 902 is further used to: receive a fifth input to a fourth control, where the fourth control is any one of the at least one third control;
[0148] The display module 901 is further used to: in response to a fifth input, display the preparation steps of food of a target type, where the target type is associated with a fourth control.
[0149] In this way, controls corresponding to multiple types of food preparation steps can be displayed for user selection, and based on different user selections, preparation steps for different methods of making the food can be generated and displayed, thereby improving the convenience and flexibility of information display.
[0150] The information display device in the embodiment of the present application can be a device or a component in the device, such as an integrated circuit or a chip. The device can be a terminal or other devices other than a terminal. Exemplarily, the device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0151] The information display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0152] The information display device provided in the embodiment of the present application can achieve Figures 1 to 8 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0153] Alternatively, if Fig.10 As shown, an embodiment of the present application also provides an electronic device 1000, including a processor 1001 and a memory 1002, wherein the memory 1002 stores programs or instructions that can be executed on the processor 1001, and when the program or instructions are executed by the processor 1001, the various steps of the above-mentioned information display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0154] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0155] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application.
[0156] The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110 and other components.
[0157] Those skilled in the art will appreciate that the electronic device 1100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0158] The display unit 1106 is used to display the first image in the shooting preview interface, and when the first image includes food, call the interface of the artificial intelligence generated content model to display the function control;
[0159] A user input unit 1107, used to receive a first input to a function control;
[0160] The display unit 1106 is further configured to display information corresponding to the function control in response to the first input, where the information is generated by an artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following:
[0161] Comments on food;
[0162] Calorie information corresponding to food;
[0163] Food recommendation information corresponding to the food;
[0164] Steps in preparing food.
[0165] In an embodiment of the present application, when a first image including food is displayed on the shooting preview interface, a function control can be displayed, and in response to a first input of the user to the function control, information corresponding to the function control can be displayed, such as an evaluation of the food, calorie information corresponding to the food, gourmet recommendation information corresponding to the food, and food preparation steps. In this way, the user does not need to manually input keyword information, and relevant information can be automatically generated and displayed based on the food in the first image, which reduces the user's operation steps and improves the convenience of information display.
[0166] In some embodiments, when the information is a review of food, the display unit 1106 is further configured to:
[0167] In response to the first input, N evaluation level controls are displayed, where N is an integer greater than 1;
[0168] The user input unit 1107 is further used to: receive a second input to the first evaluation level control, where the first evaluation level control is any one of the N evaluation level controls;
[0169] The display unit 1106 is further used to: in response to the second input, generate and display an evaluation of the food through an artificial intelligence content model according to the evaluation level corresponding to the first evaluation level control.
[0170] In this way, multiple evaluation level controls of different levels can be displayed for user selection, and based on different selections of the user, evaluations of different evaluation levels of food can be generated and displayed, thereby improving the convenience and flexibility of information display.
[0171] In some embodiments, when the information is an evaluation of food, the display unit 1106 is further configured to:
[0172] In response to the first input, displaying prompt information, the prompt information is used to instruct to shoot the first image to obtain the second image;
[0173] The device also includes:
[0174] Processor 1110, for inputting the second image into the artificial intelligence generated content model when the second image is captured, and generating a review of the food through the artificial intelligence generated content model, where the review includes the second image and text information related to the image content of the second image;
[0175] The display unit 1106 is further used to display the evaluation of the food.
[0176] In this way, a second image can be captured based on the prompt information, and a graphic evaluation can be generated and displayed based on the second image, so that the displayed evaluation of food can better meet the diverse needs of users and improve the intelligence of the display.
[0177] In some embodiments, when the information is an evaluation of food, the user input unit 1107 is further used to:
[0178] After displaying information corresponding to the functional control in response to the first input, receiving a third input associated with a change request indicating a change to the evaluation;
[0179] The device also includes:
[0180] The processor 1110 is configured to regenerate the evaluation of the food according to the change requirement in response to the third input;
[0181] The display unit 1106 is further used to display the regenerated evaluation of the food.
[0182] In this way, if the user is not satisfied with the evaluation of the food, he can input the change requirements and regenerate the evaluation. This can ensure that the evaluation of the food finally displayed can better meet the user's needs and improve the flexibility of information display.
[0183] In some embodiments, when the function control is a first control and the information corresponding to the first control is calorie information corresponding to food, the processor 1110 is further configured to:
[0184] In response to the first input, generating calorie information corresponding to the food through an artificial intelligence generated content model;
[0185] The display unit 1106 is further used to display the calorie information corresponding to the food and display the second control;
[0186] The user input unit 1107 is further used to receive a fourth input to the second control;
[0187] The display unit 1106 is further configured to display information corresponding to the second control in response to the fourth input, where the information corresponding to the second control includes food recommendation information corresponding to the food, or steps for making the food.
[0188] In this embodiment, a first control related to calorie information can be displayed first, and a second control related to food recommendation information and / or production steps can be displayed simultaneously with the calorie information, so that relevant information can be displayed based on the user's selection. In this way, the intelligent scene of information display is realized, which better meets the user's intelligent needs.
[0189] In some embodiments, when the information is food recommendation information corresponding to food, the device further includes a processor 1110, which is used to:
[0190] Generate a content model through artificial intelligence to obtain M food recommendation information related to food, where M is a positive integer;
[0191] According to the preset sorting rules, sort the M food recommendation information to obtain a food ranking list;
[0192] The display unit 1106 is also used to display the food ranking list.
[0193] In this way, the food recommendation information can be sorted and displayed to users after obtaining the food rankings, so that users can choose their favorite restaurants to dine according to the food rankings, thereby improving the intelligence and flexibility of information display, and further improving the success rate of users successfully selecting food recommendation information that meets their needs.
[0194] In some embodiments, when the information is food preparation steps, the display unit 1106 is further configured to:
[0195] Displaying at least one third control, each third control being associated with a type of preparation steps of food;
[0196] The user input unit 1107 is further used to: receive a fifth input to a fourth control, where the fourth control is any one of the at least one third control;
[0197] The display unit 1106 is further configured to: in response to a fifth input, display preparation steps of a target type of food, where the target type is associated with a fourth control.
[0198] In this way, controls corresponding to multiple types of food preparation steps can be displayed for user selection, and based on different user selections, preparation steps for different methods of making the food can be generated and displayed, thereby improving the convenience and flexibility of information display.
[0199] It should be understood that in the embodiment of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042, and the graphics processor 11041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0200] The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1109 may include a volatile memory or a non-volatile memory, or the memory 1109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0201] The processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1110.
[0202] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned information display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0203] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0204] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0205] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0206] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned information display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0207] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0208] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0209] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An information display method, characterized in that: The method comprises: When a first image is displayed on a shooting preview interface and the first image includes food, an interface for generating a content model through artificial intelligence is called to display a function control; receiving a first input to the functional control; In response to the first input, information corresponding to the function control is displayed, where the information is generated by the artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following: a review of said food; Calorie information corresponding to the food; Food recommendation information corresponding to the food; The steps of preparing the food.
2. The method according to claim 1, characterized in that In a case where the information is an evaluation of the food, the displaying of information corresponding to the function control in response to the first input includes: In response to the first input, displaying N evaluation level controls, where N is an integer greater than 1; Receiving a second input to a first evaluation grade control, wherein the first evaluation grade control is any one of the N evaluation grade controls; In response to the second input, an evaluation of the food is generated and displayed through the artificial intelligence generated content model according to the evaluation level corresponding to the first evaluation level control.
3. The method according to claim 1 or 2, characterized in that: In a case where the information is an evaluation of the food, the displaying of information corresponding to the function control in response to the first input includes: In response to the first input, displaying prompt information, wherein the prompt information is used to instruct to shoot the first image to obtain a second image; When the second image is captured, the second image is input into the artificial intelligence generated content model, and an evaluation of the food is generated and displayed through the artificial intelligence generated content model, wherein the evaluation includes the second image and text information related to the image content of the second image.
4. The method according to claim 1 or 2, characterized in that: In the case where the information is an evaluation of the food, after displaying the information corresponding to the function control in response to the first input, the method further includes: receiving a third input associated with a change request indicating a change to be made to the evaluation; In response to the third input, the evaluation of the food is regenerated and displayed according to the modification requirement.
5. The method according to claim 1, characterized in that In a case where the function control is a first control and the information corresponding to the first control is calorie information corresponding to the food, the displaying the information corresponding to the function control in response to the first input includes: In response to the first input, generating calorie information corresponding to the food through the artificial intelligence generated content model; Displaying the calorie information corresponding to the food and displaying a second control; receiving a fourth input to the second control; In response to the fourth input, information corresponding to the second control is displayed, where the information corresponding to the second control includes gourmet food recommendation information corresponding to the food, or steps for making the food.
6. The method according to claim 1 or 5, characterized in that: In a case where the information is gourmet recommendation information corresponding to the food, the displaying, in response to the first input, information corresponding to the function control includes: Generate a content model through the artificial intelligence to obtain M food recommendation information associated with the food, where M is a positive integer; Sorting the M food recommendation information according to a preset sorting rule to obtain a food ranking list; The food ranking list is displayed.
7. The method according to claim 1 or 5, characterized in that: In the case where the information is to display the steps of making the food, the information corresponding to the function control is displayed in response to the first input, including: Displaying at least one third control, each of the third controls is associated with a type of preparation steps of the food; receiving a fifth input to a fourth control, wherein the fourth control is any one of the at least one third control; In response to the fifth input, preparation steps for the food of a target type are displayed, the target type being associated with the fourth control.
8. An information display device, characterized in that: The device comprises: A display module, configured to display a first image on a shooting preview interface, and when the first image includes food, call an interface for generating a content model through artificial intelligence to display a function control; A receiving module, configured to receive a first input to the function control; The display module is further configured to display information corresponding to the function control in response to the first input, wherein the information is generated by the artificial intelligence generated content model, and the information corresponding to the function control includes at least one of the following: a review of said food; Calorie information corresponding to the food; Food recommendation information corresponding to the food; The steps of preparing the food.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.